Skip to content

Commit 2394706

Browse files
fix tests with security enabled (#1469) (#1471)
Fix Notification tests when Security enabled to fix CI failure -> https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/2.16.0/7852/linux/x64/rpm/test-results/6147/integ-test/notificationsDashboards/with-security/cypress-videos/plugins/notifications-dashboards/1_email_senders_and_groups.spec.js.mp4 Signed-off-by: Riya Saxena <riysaxen@amazon.com> (cherry picked from commit ad69043) Co-authored-by: Riya <69919272+riysaxen-amzn@users.noreply.github.com>
1 parent cb6de74 commit 2394706

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cypress/integration/plugins/notifications-dashboards/1_email_senders_and_groups.spec.js

+4
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ describe('Test create, edit and delete recipient group', () => {
259259
});
260260

261261
it('deletes recipient groups', () => {
262+
cy.wait(NOTIFICATIONS_DELAY);
263+
cy.get('tbody > tr').should(($tr) => {
264+
expect($tr, '1 row').to.have.length(1);
265+
});
262266
cy.get('[data-test-subj="checkboxSelectAll"]').click({ force: true });
263267
cy.wait(NOTIFICATIONS_DELAY);
264268
cy.get('[data-test-subj="recipient-groups-table-delete-button"]').click({

0 commit comments

Comments
 (0)