Skip to content

Commit 38be554

Browse files
jkapplerbrianchandotcom
authored andcommitted
LPD-65751 Update locator
1 parent cc5ac77 commit 38be554

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

modules/test/playwright/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/test/playwright/tests/asset-tags-admin-web/main/tags.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ test(
117117
await page.keyboard.press('Tab');
118118
await page.keyboard.press('Tab');
119119
await expect(
120-
page.locator('.tooltip-inner').filter({hasText: 'Go to Tags'})
120+
page
121+
.locator('.lfr-portal-tooltip')
122+
.filter({hasText: 'Go to Tags'})
121123
).toBeVisible();
122124
});
123125

@@ -143,7 +145,9 @@ test(
143145
await page.keyboard.press('Tab');
144146
await page.keyboard.press('Tab');
145147
await expect(
146-
page.locator('.tooltip-inner').filter({hasText: 'Go to Tags'})
148+
page
149+
.locator('.lfr-portal-tooltip')
150+
.filter({hasText: 'Go to Tags'})
147151
).toBeVisible();
148152
});
149153
}

0 commit comments

Comments
 (0)