|
|
@@ -159,6 +159,8 @@ context('Access to /me/all-in-app-notifications', () => {
|
|
|
cy.fixture("user-admin.json").then(user => {
|
|
|
cy.login(user.username, user.password);
|
|
|
});
|
|
|
+ // collapse sidebar
|
|
|
+ cy.collapseSidebar(true);
|
|
|
});
|
|
|
|
|
|
it('All In-App Notification list is successfully loaded', () => {
|
|
|
@@ -166,8 +168,6 @@ context('Access to /me/all-in-app-notifications', () => {
|
|
|
cy.get('.notification-wrapper > a').click();
|
|
|
cy.get('.notification-wrapper > .dropdown-menu > a').click();
|
|
|
|
|
|
- cy.collapseSidebar(true, true); // The in-app notification page appears with the sidebar open so close it forcefully here
|
|
|
-
|
|
|
cy.screenshot(`${ssPrefix}-see-all`, { capture: 'viewport' });
|
|
|
|
|
|
cy.get('.grw-custom-nav-tab > div > ul > li:nth-child(2) > a').click();
|