diff --git a/.github/workflows/pre-merge.yaml b/.github/workflows/pre-merge.yaml index 7f649fd5c1..863354df32 100644 --- a/.github/workflows/pre-merge.yaml +++ b/.github/workflows/pre-merge.yaml @@ -456,7 +456,7 @@ jobs: - name: Install Cypress and its dependencies run: | cd ui - PKGS="har-validator cypress cypress-cucumber-preprocessor cypress-wait-until @testing-library/cypress" + PKGS="har-validator cypress cypress-wait-until @testing-library/cypress querystring" for pkg in $PKGS; do npm install --no-save --no-package-lock --legacy-peer-deps $pkg@$(node -p \ -e "require('./package-lock.json').dependencies['$pkg'].version" \ diff --git a/ui/package.json b/ui/package.json index 1d2fb12cdf..18ce6cb966 100644 --- a/ui/package.json +++ b/ui/package.json @@ -42,7 +42,7 @@ "test:watch": "jest --watch", "test:coverage": "jest --coverage --ci", "test:nowatch": "CI=true jest --env=jsdom --reporters=default --reporters=jest-junit", - "test:integration": "cypress run --spec 'cypress/integration/**/*.spec.js'", + "test:integration": "cypress run 'cypress/integration/**/*.cy.js'", "test:e2e": "cypress run --spec 'cypress/integration/e2e/**/*.feature'", "jest-preview": "jest-preview", "rsstart": "rspack serve -c rspack.config.ts",