Commit 14da30ea authored by Mark Harding's avatar Mark Harding
Browse files

(chore): use chrome vs electron for tests

parent 12578c8b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -35,7 +35,7 @@ test:
    policy: pull-push
    policy: pull-push


e2e:
e2e:
  image: cypress/base:10
  image: cypress/browsers:chrome67
  stage: test:e2e
  stage: test:e2e
  variables:
  variables:
    CYPRESS_INSTALL_BINARY: 1
    CYPRESS_INSTALL_BINARY: 1
@@ -50,7 +50,7 @@ e2e:
    - export CYPRESS_baseUrl=$E2E_DOMAIN
    - export CYPRESS_baseUrl=$E2E_DOMAIN
    - echo "E2E tests for $CI_BUILD_REF_NAME running against $E2E_DOMAIN with user $CYPRESS_username"
    - echo "E2E tests for $CI_BUILD_REF_NAME running against $E2E_DOMAIN with user $CYPRESS_username"
    - $(npm bin)/cypress install # Binary needs reinstalling
    - $(npm bin)/cypress install # Binary needs reinstalling
    - $(npm bin)/cypress run --record --key $CYPRESS_RECORD_ID --config CYPRESS_baseUrl=$E2E_DOMAIN
    - $(npm bin)/cypress run --browser chrome --record --key $CYPRESS_RECORD_ID --config CYPRESS_baseUrl=$E2E_DOMAIN
  artifacts:
  artifacts:
    when: always
    when: always
    paths:
    paths: