Skip to content

Commit 46e2fc8

Browse files
assign tags to tests
1 parent fdec005 commit 46e2fc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/example.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { test, expect } from '@playwright/test';
22

3-
test('has title', { tag: ['@smoke', '@p0'] }, async ({ page }) => {
3+
test('has title', { tag: ['@smoke', '@p0', '@regression', '@desktop'] }, async ({ page }) => {
44
await page.goto('https://playwright.dev/');
55

66
// Expect a title "to contain" a substring.
77
await expect(page).toHaveTitle(/Playwright/);
88
});
99

10-
test('get started link', { tag: ['@smoke'] }, async ({ page }) => {
10+
test('get started link', { tag: ['@smoke', '@regression', '@mobile'] }, async ({ page }) => {
1111
await page.goto('https://playwright.dev/');
1212

1313
// Click the get started link.

0 commit comments

Comments
 (0)