@@ -30,7 +30,7 @@ mainBuildFilters: &mainBuildFilters
30
30
- /^release\/\d+\.\d+\.\d+$/
31
31
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
32
32
- ' update-v8-snapshot-cache-on-develop'
33
- - ' misc/remove_marionette_for_geckodriver '
33
+ - ' ryanm/fix/find-process '
34
34
- ' publish-binary'
35
35
36
36
# usually we don't build Mac app - it takes a long time
@@ -42,7 +42,7 @@ macWorkflowFilters: &darwin-workflow-filters
42
42
- equal : [ develop, << pipeline.git.branch >> ]
43
43
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
44
44
- equal : [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
45
- - equal : [ 'misc/remove_marionette_for_geckodriver ', << pipeline.git.branch >> ]
45
+ - equal : [ 'ryanm/fix/find-process ', << pipeline.git.branch >> ]
46
46
- matches :
47
47
pattern : /^release\/\d+\.\d+\.\d+$/
48
48
value : << pipeline.git.branch >>
@@ -53,7 +53,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters
53
53
- equal : [ develop, << pipeline.git.branch >> ]
54
54
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
55
55
- equal : [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
56
- - equal : [ 'misc/remove_marionette_for_geckodriver ', << pipeline.git.branch >> ]
56
+ - equal : [ 'ryanm/fix/find-process ', << pipeline.git.branch >> ]
57
57
- matches :
58
58
pattern : /^release\/\d+\.\d+\.\d+$/
59
59
value : << pipeline.git.branch >>
@@ -76,7 +76,7 @@ windowsWorkflowFilters: &windows-workflow-filters
76
76
- equal : [ develop, << pipeline.git.branch >> ]
77
77
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
78
78
- equal : [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
79
- - equal : [ 'chore/patch_windows_build ', << pipeline.git.branch >> ]
79
+ - equal : [ 'ryanm/fix/find-process ', << pipeline.git.branch >> ]
80
80
- matches :
81
81
pattern : /^release\/\d+\.\d+\.\d+$/
82
82
value : << pipeline.git.branch >>
@@ -152,7 +152,7 @@ commands:
152
152
name : Set environment variable to determine whether or not to persist artifacts
153
153
command : |
154
154
echo "Setting SHOULD_PERSIST_ARTIFACTS variable"
155
- echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "misc/remove_marionette_for_geckodriver " ]]; then
155
+ echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "ryanm/fix/find-process " ]]; then
156
156
export SHOULD_PERSIST_ARTIFACTS=true
157
157
fi' >> "$BASH_ENV"
158
158
# You must run `setup_should_persist_artifacts` command and be using bash before running this command
@@ -1395,6 +1395,30 @@ jobs:
1395
1395
PERCY_PARALLEL_NONCE=$CIRCLE_WORKFLOW_WORKSPACE_ID \
1396
1396
yarn percy build:finalize || yarn percy build:finalize
1397
1397
1398
+ # verify accessibility scores from Cypress
1399
+ verify-accessibility-results :
1400
+ << : *defaults
1401
+ resource_class : small
1402
+ steps :
1403
+ - run : |
1404
+ if [[ -z MAIN_RECORD_KEY ]]; then
1405
+ echo "skipping for contributor PRs since we don't record to the cloud"
1406
+ circleci-agent step halt
1407
+ fi
1408
+ - update_known_hosts
1409
+ - run :
1410
+ name : checkout
1411
+ command : git clone -b "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL" --depth 1
1412
+ - run :
1413
+ name : Install extract-cloud-results package
1414
+ command : |
1415
+ npm install https://cdn.cypress.io/extract-cloud-results/v1/extract-cloud-results.tgz
1416
+ - run :
1417
+ name : Verify Accessibility Results
1418
+ command : |
1419
+ cp ./cypress/scripts/verify-accessibility-results.js verify-accessibility-results.js
1420
+ CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY node verify-accessibility-results.js
1421
+
1398
1422
ready-to-release :
1399
1423
<< : *defaults
1400
1424
resource_class : small
@@ -2673,6 +2697,25 @@ linux-x64-workflow: &linux-x64-workflow
2673
2697
- run-reporter-component-tests-chrome
2674
2698
- run-webpack-dev-server-integration-tests
2675
2699
- run-vite-dev-server-integration-tests
2700
+ # Cypress run must be completed to fetch Accessibility report
2701
+ - verify-accessibility-results :
2702
+ context : test-runner:cypress-record-key
2703
+ requires :
2704
+ - reporter-integration-tests
2705
+ - run-app-component-tests-chrome
2706
+ - run-app-integration-tests-chrome
2707
+ - run-frontend-shared-component-tests-chrome
2708
+ - run-launchpad-component-tests-chrome
2709
+ - run-launchpad-integration-tests-chrome
2710
+ - run-reporter-component-tests-chrome
2711
+ - run-webpack-dev-server-integration-tests
2712
+ - run-vite-dev-server-integration-tests
2713
+ - driver-integration-tests-firefox
2714
+ - driver-integration-tests-chrome
2715
+ - driver-integration-tests-chrome-beta
2716
+ - driver-integration-tests-electron
2717
+ - driver-integration-tests-webkit
2718
+ - driver-integration-memory-tests
2676
2719
- lint-types :
2677
2720
requires :
2678
2721
- build
@@ -3008,7 +3051,9 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow
3008
3051
type : approval
3009
3052
requires :
3010
3053
- build
3011
-
3054
+ # verify-accessibility-results is required for status checks, however, it will be skipped for contributors so it
3055
+ # can run in any order
3056
+ - verify-accessibility-results
3012
3057
- check-ts :
3013
3058
requires :
3014
3059
- build
0 commit comments