From ec38d1a3d0c767899edca4d8bddb80197eacb29d Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Mon, 17 Jul 2023 18:31:49 +0100 Subject: [PATCH] Merge pull request #13913 from overleaf/ae-cypress-chrome Run Cypress tests in CI using Chrome GitOrigin-RevId: ce788a85e126fe4484b55c583ba1065e6d5ffc9f --- services/web/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/package.json b/services/web/package.json index ffa79386ab..c47bbf48e6 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -33,9 +33,9 @@ "migrations": "east", "convert-themes": "node frontend/js/features/source-editor/themes/convert.js", "cypress:open-ct": "SHARELATEX_CONFIG=$PWD/config/settings.webpack.js cypress open --component", - "cypress:run-ct": "SHARELATEX_CONFIG=$PWD/config/settings.webpack.js cypress run --component", + "cypress:run-ct": "SHARELATEX_CONFIG=$PWD/config/settings.webpack.js cypress run --component --browser chrome", "cypress:docker:open-ct": "DOCKER_USER=\"$(id -u):$(id -g)\" docker-compose -f docker-compose.cypress.yml run --rm cypress run cypress:open-ct", - "cypress:docker:run-ct": "DOCKER_USER=\"$(id -u):$(id -g)\" docker-compose -f docker-compose.cypress.yml run --rm cypress run cypress:run-ct", + "cypress:docker:run-ct": "DOCKER_USER=\"$(id -u):$(id -g)\" docker-compose -f docker-compose.cypress.yml run --rm cypress run cypress:run-ct --browser chrome", "lezer-latex:generate": "node scripts/lezer-latex/generate.js", "lezer-latex:run": "node scripts/lezer-latex/run.mjs", "lezer-latex:benchmark": "node scripts/lezer-latex/benchmark.mjs",