diff --git a/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml b/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml index 4ced9ede1..f8d4d1a74 100644 --- a/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml +++ b/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml @@ -20,46 +20,6 @@ jobs: # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - - name: Set up Chrome v115 - run: | - wget -q -O chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_115.0.5790.170-1_amd64.deb - sudo dpkg -i chrome.deb - sudo apt-get install -f - - - name: Set up ChromeDriver v115 - run: | - wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.170/linux64/chromedriver-linux64.zip - unzip chromedriver-linux64.zip - sudo mv ./chromedriver-linux64/chromedriver /usr/local/bin - rm chromedriver-linux64.zip - rm -rf ./chromedriver-linux64 - - - name: Set up Chromium v115 - run: | - CHROMIUM_DIR="/usr/local/share/chromium" - CHROMIUM_BIN="${CHROMIUM_DIR}/chrome-linux/chrome" - ## install Chromium on version 115, the version greater than 115 will hang under some cases - wget -q -O chromium.zip https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1148103%2Fchrome-linux.zip?alt=media - sudo rm -rf $CHROMIUM_DIR - sudo mkdir $CHROMIUM_DIR - - ## remove exist chromium installed by runner-image - sudo unzip -qq chromium.zip -d $CHROMIUM_DIR - sudo unlink /usr/bin/chromium - sudo unlink /usr/bin/chromium-browser - - ## add link to the installed Chromium - sudo ln -s $CHROMIUM_BIN /usr/local/bin/chromium - sudo ln -s $CHROMIUM_BIN /usr/local/bin/chromium-browser - - rm chromium.zip - - - name: Check versions - run: | - google-chrome --version - chromedriver --version - chromium --version - - name: Set up JDK uses: actions/setup-java@v1 with: diff --git a/cypress/integration/core-opensearch-dashboards/vanilla-opensearch-dashboards/dashboard_filtering_spec.js b/cypress/integration/core-opensearch-dashboards/vanilla-opensearch-dashboards/dashboard_filtering_spec.js index 29a2f4aea..5df26fcf1 100644 --- a/cypress/integration/core-opensearch-dashboards/vanilla-opensearch-dashboards/dashboard_filtering_spec.js +++ b/cypress/integration/core-opensearch-dashboards/vanilla-opensearch-dashboards/dashboard_filtering_spec.js @@ -30,9 +30,6 @@ const commonUI = new CommonUI(cy); const dashboardPage = new DashboardPage(cy); const miscUtils = new MiscUtils(cy); describe('dashboard filtering', () => { - beforeEach(() => { - cy.wait(1000); - }); before(() => { testFixtureHandler.clearJSONMapping( 'cypress/fixtures/dashboard/data/mappings.json.txt'