Skip to content

Commit 8acbd65

Browse files
Removed unused disableNotificationsIfVisible method
1 parent 2fe0093 commit 8acbd65

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

cypress/e2e/ui/Settings/Application-Settings/schedule.cy.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,6 @@ function verifyTimerDropdownExists() {
156156
cy.get('select#timer_value').should('exist');
157157
}
158158

159-
function disableNotificationsIfVisible() {
160-
// Look for notification popups and disable them if present
161-
cy.get('body').then(($body) => {
162-
const $link = $body.find(
163-
'.miq-toast-wrapper .row .alert a:contains("Disable notifications")'
164-
);
165-
if ($link.length && $link.is(':visible')) {
166-
cy.wrap($link).click({ force: true });
167-
}
168-
});
169-
}
170-
171159
describe('Automate Schedule form operations: Settings > Application Settings > Settings > Schedules > Configuration > Add a new schedule', () => {
172160
beforeEach(() => {
173161
cy.login('admin', 'smartvm', { disableNotifications: true });

0 commit comments

Comments
 (0)