Fixed e2e test for Portal (#20674)
no ref - updated the locator to use the class
This commit is contained in:
parent
1f05a7890f
commit
ed4b57736a
@ -106,8 +106,8 @@ test.describe('Portal', () => {
|
||||
await portalTriggerButton.click();
|
||||
await portalFrame.locator('[data-test-button="manage-newsletters"]').click();
|
||||
|
||||
// check amount of newsletterss
|
||||
const newsletters = await portalFrame.locator('[data-testid="toggle-wrapper"]');
|
||||
// check amount of newsletters
|
||||
const newsletters = await portalFrame.locator('.gh-portal-list-toggle-wrapper');
|
||||
const count = await newsletters.count();
|
||||
await expect(count).toEqual(2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user