|
|
@@ -112,7 +112,9 @@ context('Click page icons button', () => {
|
|
|
// do
|
|
|
cy.get('#po-total-bookmarks').click({force: true});
|
|
|
// wait until
|
|
|
- return Cypress.$('.user-list-popover').is(':visible');
|
|
|
+ return cy.get('body').within(() => {
|
|
|
+ return Cypress.$('.user-list-popover').is(':visible');
|
|
|
+ });
|
|
|
});
|
|
|
cy.waitUntilSpinnerDisappear();
|
|
|
cy.get('#grw-subnav-container').within(() => { cy.screenshot(`${ssPrefix}8-bookmarks-counter`) });
|
|
|
@@ -137,7 +139,9 @@ context('Click page icons button', () => {
|
|
|
// do
|
|
|
cy.get('#po-total-bookmarks').click({force: true});
|
|
|
// wait until
|
|
|
- return Cypress.$('.user-list-popover').is(':visible');
|
|
|
+ return cy.get('body').within(() => {
|
|
|
+ return Cypress.$('.user-list-popover').is(':visible');
|
|
|
+ });
|
|
|
});
|
|
|
cy.waitUntilSpinnerDisappear();
|
|
|
cy.get('#grw-subnav-container').within(() => { cy.screenshot(`${ssPrefix}10-bookmarks-counter`) });
|