thienphuong / playwright-with-typescript

0 stars 0 forks source link

Running test by Tag #8

Open thienphuong opened 10 months ago

thienphuong commented 10 months ago

Nguồn ở đây

test.describe('New Todo', () => {
  test('should allow me to add todo items @smoke', async ({ page }) => {
    // create a new todo locator
    const newTodo = page.getByPlaceholder('What needs to be done?');

    // Create 1st todo.
    await newTodo.fill(TODO_ITEMS[0]);
    await newTodo.press('Enter');
.....

command

npx playwright test -g @smoke