mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	Don't run E2E tests on CI
This commit is contained in:
		@@ -41,16 +41,6 @@ stages:
 | 
			
		||||
      - tests-e2e/node_modules # Keep this node_modules because it's one of workspaces
 | 
			
		||||
    policy: pull
 | 
			
		||||
 | 
			
		||||
.yarnE2ECache:
 | 
			
		||||
  cache:
 | 
			
		||||
    key: yarn-e2e-cache
 | 
			
		||||
    paths:
 | 
			
		||||
      - cache/cypress
 | 
			
		||||
      - node_modules
 | 
			
		||||
      - packages/*/node_modules
 | 
			
		||||
      - tests-e2e/node_modules
 | 
			
		||||
    policy: pull
 | 
			
		||||
 | 
			
		||||
#################
 | 
			
		||||
# Prepare stage #
 | 
			
		||||
#################
 | 
			
		||||
@@ -69,19 +59,6 @@ Yarn:
 | 
			
		||||
  script:
 | 
			
		||||
    - yarn install --frozen-lockfile
 | 
			
		||||
 | 
			
		||||
Yarn E2E:
 | 
			
		||||
  stage: prepare
 | 
			
		||||
  image: $NODE_E2E_IMAGE
 | 
			
		||||
  extends:
 | 
			
		||||
    - .yarnE2ECache
 | 
			
		||||
  cache:
 | 
			
		||||
    policy: pull-push
 | 
			
		||||
  script:
 | 
			
		||||
    - yarn install --frozen-lockfile
 | 
			
		||||
  only:
 | 
			
		||||
    refs:
 | 
			
		||||
      - master
 | 
			
		||||
 | 
			
		||||
#################
 | 
			
		||||
# Testing stage #
 | 
			
		||||
#################
 | 
			
		||||
@@ -134,32 +111,6 @@ Crowdin:
 | 
			
		||||
        - packages/app/i18n/index.js
 | 
			
		||||
      expire_in: 1 week
 | 
			
		||||
 | 
			
		||||
Cypress:
 | 
			
		||||
  stage: test
 | 
			
		||||
  image: $NODE_E2E_IMAGE
 | 
			
		||||
  needs:
 | 
			
		||||
    - Yarn E2E
 | 
			
		||||
  extends:
 | 
			
		||||
    - .yarnE2ECache
 | 
			
		||||
  variables:
 | 
			
		||||
    # Sentry's DSN is provided for build step from repository configuration,
 | 
			
		||||
    # but it's not necessary to send any logs reports during E2E testing
 | 
			
		||||
    SENTRY_DSN: ""
 | 
			
		||||
  script:
 | 
			
		||||
    - yarn start &
 | 
			
		||||
    - yarn wait-on http://localhost:8080
 | 
			
		||||
    - >
 | 
			
		||||
      yarn --cwd tests-e2e test:ci
 | 
			
		||||
      --record
 | 
			
		||||
      --browser chrome
 | 
			
		||||
      --parallel
 | 
			
		||||
  parallel: 4
 | 
			
		||||
  timeout: 20m
 | 
			
		||||
  allow_failure: true
 | 
			
		||||
  only:
 | 
			
		||||
    refs:
 | 
			
		||||
      - master
 | 
			
		||||
 | 
			
		||||
###############
 | 
			
		||||
# Build stage #
 | 
			
		||||
###############
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user