Skip to content

Commit f161fd7

Browse files
mark some tests as smoke
1 parent cd4b556 commit f161fd7

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', async ({ page }) => {
3+
test('has title', { tag: ['@smoke'] }, 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', async ({ page }) => {
10+
test('get started link', { tag: ['@smoke'] }, async ({ page }) => {
1111
await page.goto('https://playwright.dev/');
1212

1313
// Click the get started link.

0 commit comments

Comments
 (0)