test: fix tour playwright (#17384)

This commit is contained in:
Sachin Chaurasiya 2024-08-11 15:34:06 +05:30 committed by GitHub
parent a6ebac9b68
commit f57c39409c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ test.describe('Tour should work properly', () => {
test('All tour steps should work', async ({ page }) => {
await page.locator('[data-testid="help-icon"]').click();
await page.getByRole('link', { name: 'Tour' }).click();
await page.getByRole('link', { name: 'Tour', exact: true }).click();
await expect(page.locator(`[data-tour-elem="badge"]`)).toHaveText('1');