From c47d10e9a32e0724fa2f2ff270e1e0e9271dd548 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Mon, 21 Aug 2023 20:41:07 -0400 Subject: [PATCH] Update notifications tests Signed-off-by: Craig Perkins --- .github/workflows/cypress-workflow-vanilla-snapshot-based.yml | 4 ++-- .../notifications-dashboards/1_email_senders_and_groups.cy.js | 2 +- cypress/e2e/plugins/notifications-dashboards/2_channels.cy.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml b/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml index 96c5dd946..92be1b102 100644 --- a/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml +++ b/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml @@ -12,7 +12,7 @@ on: - feature/* jobs: tests: - name: Run Cypress E2E vanilla tests + name: Run Cypress E2E tests runs-on: ubuntu-latest env: # prevents extra Cypress installation progress messages @@ -73,7 +73,7 @@ jobs: uses: cypress-io/github-action@v2 with: working-directory: monetery-test - command: yarn cypress:run-without-security --browser chromium --config numTestsKeptInMemory=5 --config experimentalMemoryManagement=true --spec 'cypress/e2e/core-opensearch-dashboards/vanilla-opensearch-dashboards/*.js' + command: yarn cypress:run-without-security --browser chromium --spec 'cypress/e2e/core-opensearch-dashboards/vanilla-opensearch-dashboards/*.js' wait-on: 'http://localhost:5601' # Screenshots are only captured on failure, will change this once we do visual regression tests - uses: actions/upload-artifact@v1 diff --git a/cypress/e2e/plugins/notifications-dashboards/1_email_senders_and_groups.cy.js b/cypress/e2e/plugins/notifications-dashboards/1_email_senders_and_groups.cy.js index 2bd28c9af..0d71d8095 100644 --- a/cypress/e2e/plugins/notifications-dashboards/1_email_senders_and_groups.cy.js +++ b/cypress/e2e/plugins/notifications-dashboards/1_email_senders_and_groups.cy.js @@ -16,7 +16,7 @@ import testTlsSmtpSender from '../../../fixtures/plugins/notifications-dashboard import testSesSender from '../../../fixtures/plugins/notifications-dashboards/test_ses_sender.json'; import testEmailRecipientGroup from '../../../fixtures/plugins/notifications-dashboards/test_email_recipient_group.json'; -describe('Test create email senders', () => { +describe('Test create email senders', { testIsolation: false }, () => { before(() => { // Delete all Notification configs cy.deleteAllNotificationConfigs(); diff --git a/cypress/e2e/plugins/notifications-dashboards/2_channels.cy.js b/cypress/e2e/plugins/notifications-dashboards/2_channels.cy.js index bd5766e86..4eb8a5c3d 100644 --- a/cypress/e2e/plugins/notifications-dashboards/2_channels.cy.js +++ b/cypress/e2e/plugins/notifications-dashboards/2_channels.cy.js @@ -16,7 +16,7 @@ import testChimeChannel from '../../../fixtures/plugins/notifications-dashboards import testWebhookChannel from '../../../fixtures/plugins/notifications-dashboards/test_webhook_channel.json'; import testTlsSmtpSender from '../../../fixtures/plugins/notifications-dashboards/test_tls_smtp_sender.json'; -describe('Test create channels', () => { +describe('Test create channels', { testIsolation: false }, () => { before(() => { // Delete all Notification configs cy.deleteAllNotificationConfigs();