mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-23 23:49:43 -05:00
chore: remove extraneous desktop-gui job (#9273)
* run percy on all desktop-gui tests * Remove desktop-gui-visual-tests job which is never used
This commit is contained in:
-35
@@ -763,41 +763,6 @@ jobs:
|
||||
path: /tmp/artifacts
|
||||
- store-npm-logs
|
||||
|
||||
desktop-gui-visual-tests:
|
||||
<<: *defaults
|
||||
parallelism: 1
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: ~/
|
||||
- check-conditional-ci
|
||||
- run:
|
||||
command: yarn build-prod
|
||||
working_directory: packages/desktop-gui
|
||||
- run:
|
||||
name: Desktop GUI server
|
||||
command: yarn start
|
||||
working_directory: packages/desktop-gui
|
||||
background: true
|
||||
- run:
|
||||
# will use PERCY_TOKEN environment variable if available
|
||||
# to tie Percy builds together, use environment variables
|
||||
# https://docs.percy.io/docs/parallel-test-suites
|
||||
# we can use workflow id and list number of jobs with Percy screenshots
|
||||
# if we allow Percy snapshots in more jobs, use the same
|
||||
# PERCY_* variables in all of them
|
||||
# NOTE: we only execute specs with "cy.percySnapshot" commands in them
|
||||
command: |
|
||||
CYPRESS_KONFIG_ENV=production \
|
||||
PERCY_PARALLEL_NONCE=$CIRCLE_WORKFLOW_ID \
|
||||
PERCY_PARALLEL_TOTAL=1 \
|
||||
yarn percy exec -- \
|
||||
yarn cypress:run \
|
||||
--spec cypress/integration/settings_spec.js,cypress/integration/specs_list_spec.js,cypress/integration/runs_list_spec.js,cypress/integration/login_spec.js
|
||||
working_directory: packages/desktop-gui
|
||||
- verify-mocha-results
|
||||
# we don't really need any artifacts - we are only interested in visual screenshots
|
||||
- store-npm-logs
|
||||
|
||||
desktop-gui-component-tests:
|
||||
<<: *defaults
|
||||
parallelism: 1
|
||||
|
||||
Reference in New Issue
Block a user