From 4f390769bc017a4214a751530ab46086840b499e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Dombya?= <135591453+hervedombya@users.noreply.github.com> Date: Mon, 6 Jan 2025 14:16:06 +0100 Subject: [PATCH] Update Cypress integration test command and add missing querystring dependency --- .github/workflows/pre-merge.yaml | 2 +- ui/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",