|
|
@@ -24,38 +24,37 @@ install:
|
|
|
script:
|
|
|
- yarn install --frozen-lockfile
|
|
|
# check Cypress binary path and cached versions
|
|
|
- - npx cypress cache path
|
|
|
- - npx cypress cache list
|
|
|
- - yarn build:ci
|
|
|
+ - npx node_modules/.bin/cypress cache path
|
|
|
+ - npx node_modules/.bin/cypress cache list
|
|
|
|
|
|
ui-chrome:
|
|
|
image: cypress/browsers:node14.17.0-chrome88-ff89
|
|
|
stage: test
|
|
|
parallel: 5
|
|
|
script:
|
|
|
- - yarn start:ci & npx wait-on http://localhost:3000
|
|
|
- - npx cypress run --record --parallel --browser chrome --group "Chrome" --spec "test/cypress/integration/*"
|
|
|
+ - yarn dev & npx wait-on http://localhost:3004
|
|
|
+ - yarn cypress:silent --record --parallel --browser chrome --group "Chrome" --spec "test/cypress/integration/*"
|
|
|
|
|
|
ui-chrome-mobile:
|
|
|
image: cypress/browsers:node14.17.0-chrome88-ff89
|
|
|
stage: test
|
|
|
parallel: 5
|
|
|
script:
|
|
|
- - yarn start:ci & npx wait-on http://localhost:3000
|
|
|
- - npx cypress run --record --parallel --browser chrome --group "Chrome - Mobile" --spec "test/cypress/integration/*" --config "viewportWidth=375,viewportHeight=667"
|
|
|
+ - yarn dev & npx wait-on http://localhost:3004
|
|
|
+ - yarn cypress:silent --record --parallel --browser chrome --group "Chrome - Mobile" --spec "test/cypress/integration/*" --config "viewportWidth=375,viewportHeight=667"
|
|
|
|
|
|
ui-firefox:
|
|
|
image: cypress/browsers:node14.17.0-chrome88-ff89
|
|
|
stage: test
|
|
|
parallel: 5
|
|
|
script:
|
|
|
- - yarn start:ci & npx wait-on http://localhost:3000
|
|
|
- - npx cypress run --record --parallel --browser firefox --group "Firefox" --spec "test/cypress/integration/*"
|
|
|
+ - yarn dev & npx wait-on http://localhost:3004
|
|
|
+ - yarn cypress:silent --record --parallel --browser firefox --group "Firefox" --spec "test/cypress/integration/*"
|
|
|
|
|
|
ui-firefox-mobile:
|
|
|
image: cypress/browsers:node14.17.0-chrome88-ff89
|
|
|
stage: test
|
|
|
parallel: 5
|
|
|
script:
|
|
|
- - yarn start:ci & npx wait-on http://localhost:3000
|
|
|
- - npx cypress run --record --parallel --browser firefox --group "Firefox - Mobile" --spec "test/cypress/integration/*" --config "viewportWidth=375,viewportHeight=667"
|
|
|
+ - yarn dev & npx wait-on http://localhost:3004
|
|
|
+ - yarn cypress:silent --record --parallel --browser firefox --group "Firefox - Mobile" --spec "test/cypress/integration/*" --config "viewportWidth=375,viewportHeight=667"
|