Fix manual workflow (#786)
* chore: fix typo * chore: fix flag in workflow * chore: fix if Co-authored-by: Rado <rado@vegaprotocol.io>
This commit is contained in:
parent
ff68c878d0
commit
90b2d9bbb0
@ -10,11 +10,11 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- explorer
|
- explorer-e2e
|
||||||
- simple-trading-app
|
- simple-trading-app-e2e
|
||||||
- stats
|
- stats-e2e
|
||||||
- token
|
- token-e2e
|
||||||
- trading
|
- trading-e2e
|
||||||
includeFlows:
|
includeFlows:
|
||||||
description: 'Include long flows (if any)?'
|
description: 'Include long flows (if any)?'
|
||||||
required: true
|
required: true
|
||||||
@ -117,7 +117,7 @@ jobs:
|
|||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
- name: Run Cypress tests
|
- name: Run Cypress tests
|
||||||
run: yarn nx run-many --target=e2e --project=${{inputs.project}} --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --browser chrome
|
run: yarn nx run ${{inputs.project}}:e2e --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --browser chrome
|
||||||
env:
|
env:
|
||||||
CYPRESS_TRADING_TEST_VEGA_WALLET_PASSPHRASE: ${{ secrets.CYPRESS_TRADING_TEST_VEGA_WALLET_PASSPHRASE }}
|
CYPRESS_TRADING_TEST_VEGA_WALLET_PASSPHRASE: ${{ secrets.CYPRESS_TRADING_TEST_VEGA_WALLET_PASSPHRASE }}
|
||||||
CYPRESS_SLACK_WEBHOOK: ${{ secrets.CYPRESS_SLACK_WEBHOOK }}
|
CYPRESS_SLACK_WEBHOOK: ${{ secrets.CYPRESS_SLACK_WEBHOOK }}
|
||||||
|
@ -6,12 +6,14 @@ module.exports = defineConfig({
|
|||||||
baseUrl: 'http://localhost:4210',
|
baseUrl: 'http://localhost:4210',
|
||||||
fileServerFolder: '.',
|
fileServerFolder: '.',
|
||||||
fixturesFolder: false,
|
fixturesFolder: false,
|
||||||
specPattern: [
|
specPattern:
|
||||||
'./src/integration/view/**/*.cy.{js,jsx,ts,tsx}',
|
process.env.CYPRESS_INCLUDE_FLOWS === 'true' ||
|
||||||
process.env.CYPRESS_INCLUDE_FLOWS
|
process.env.CYPRESS_INCLUDE_FLOWS === true
|
||||||
? './src/integration/flow/**/*.cy.{js,jsx,ts,tsx}'
|
? [
|
||||||
: '',
|
'./src/integration/view/**/*.cy.{js,jsx,ts,tsx}',
|
||||||
],
|
'./src/integration/flow/**/*.cy.{js,jsx,ts,tsx}',
|
||||||
|
]
|
||||||
|
: ['./src/integration/view/**/*.cy.{js,jsx,ts,tsx}'],
|
||||||
modifyObstructiveCode: false,
|
modifyObstructiveCode: false,
|
||||||
supportFile: './src/support/index.ts',
|
supportFile: './src/support/index.ts',
|
||||||
video: true,
|
video: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user