diff --git a/tests/playwright-test/test-tag.spec.ts b/tests/playwright-test/test-tag.spec.ts index b062e46899..9259e3b1c6 100644 --- a/tests/playwright-test/test-tag.spec.ts +++ b/tests/playwright-test/test-tag.spec.ts @@ -166,9 +166,9 @@ test('should be included in testInfo if comming from describe', async ({ runInli const result = await runInlineTest({ 'a.test.ts': ` import { test, expect } from '@playwright/test'; - test.describe('describe with tag', { tag: '@tag1' }, async ()=>{ + test.describe('describe with tag', { tag: '@tag2' }, async ()=>{ test('test with tag', async ({}, testInfo) => { - expect(testInfo.tags).toStrictEqual(["@tag1"]); + expect(testInfo.tags).toStrictEqual(["@tag2"]); }); }); `,