Merge pull request #13913 from overleaf/ae-cypress-chrome

Run Cypress tests in CI using Chrome

GitOrigin-RevId: ce788a85e126fe4484b55c583ba1065e6d5ffc9f
This commit is contained in:
Alf Eaton 2023-07-17 18:31:49 +01:00 committed by Copybot
parent 5118a95d68
commit ec38d1a3d0

View file

@ -33,9 +33,9 @@
"migrations": "east", "migrations": "east",
"convert-themes": "node frontend/js/features/source-editor/themes/convert.js", "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: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: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:generate": "node scripts/lezer-latex/generate.js",
"lezer-latex:run": "node scripts/lezer-latex/run.mjs", "lezer-latex:run": "node scripts/lezer-latex/run.mjs",
"lezer-latex:benchmark": "node scripts/lezer-latex/benchmark.mjs", "lezer-latex:benchmark": "node scripts/lezer-latex/benchmark.mjs",