mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
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