Update cypress test config
This commit is contained in:
		
							parent
							
								
									0843167574
								
							
						
					
					
						commit
						aed23f274f
					
				
							
								
								
									
										37
									
								
								.github/workflows/cypress.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										37
									
								
								.github/workflows/cypress.yml
									
									
									
									
										vendored
									
									
								
							@ -15,17 +15,48 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
      - name: ${{ matrix.browser }} browser tests
 | 
			
		||||
      - name: ${{ matrix.browser }} browser tests (Mempool)
 | 
			
		||||
        uses: cypress-io/github-action@v2
 | 
			
		||||
        with:
 | 
			
		||||
          working-directory: frontend
 | 
			
		||||
          build: npm run config:defaults
 | 
			
		||||
          build: npm run config:defaults:mempool
 | 
			
		||||
          start: npm run start:local-prod
 | 
			
		||||
          wait-on: 'http://localhost:4200'
 | 
			
		||||
          wait-on-timeout: 120
 | 
			
		||||
          record: true
 | 
			
		||||
          parallel: true
 | 
			
		||||
          group: Tests on ${{ matrix.browser }}
 | 
			
		||||
          env: BASE_MODULE=mempool
 | 
			
		||||
          group: Tests on ${{ matrix.browser }} (Mempool)
 | 
			
		||||
          browser: ${{ matrix.browser }}
 | 
			
		||||
          ci-build-id: '${{ github.sha }}-${{ github.workflow }}-${{ github.event_name }}'
 | 
			
		||||
      - name: ${{ matrix.browser }} browser tests (Liquid)
 | 
			
		||||
        uses: cypress-io/github-action@v2
 | 
			
		||||
        with:
 | 
			
		||||
          working-directory: frontend
 | 
			
		||||
          build: npm run config:defaults:liquid
 | 
			
		||||
          start: npm run start:local-prod
 | 
			
		||||
          wait-on: 'http://localhost:4200'
 | 
			
		||||
          wait-on-timeout: 120
 | 
			
		||||
          record: true
 | 
			
		||||
          parallel: true
 | 
			
		||||
          spec: cypress/integration/liquid/liquid.spec.ts
 | 
			
		||||
          env: BASE_MODULE=lidquid
 | 
			
		||||
          group: Tests on ${{ matrix.browser }} (Liquid)
 | 
			
		||||
          browser: ${{ matrix.browser }}
 | 
			
		||||
          ci-build-id: '${{ github.sha }}-${{ github.workflow }}-${{ github.event_name }}'
 | 
			
		||||
      - name: ${{ matrix.browser }} browser tests (Bisq)
 | 
			
		||||
        uses: cypress-io/github-action@v2
 | 
			
		||||
        with:
 | 
			
		||||
          working-directory: frontend
 | 
			
		||||
          build: npm run config:defaults:bisq
 | 
			
		||||
          start: npm run start:local-prod
 | 
			
		||||
          wait-on: 'http://localhost:4200'
 | 
			
		||||
          wait-on-timeout: 120
 | 
			
		||||
          record: true
 | 
			
		||||
          parallel: true
 | 
			
		||||
          spec: cypress/integration/bisq/bisq.spec.ts
 | 
			
		||||
          env: BASE_MODULE=bisq
 | 
			
		||||
          group: Tests on ${{ matrix.browser }} (Bisq)
 | 
			
		||||
          browser: ${{ matrix.browser }}
 | 
			
		||||
          ci-build-id: '${{ github.sha }}-${{ github.workflow }}-${{ github.event_name }}'
 | 
			
		||||
        env:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user