dequelabs / dequelabs/axe-core

Run Firefox CI tests in a separate job

Open
#3,653 0 comments 0 reactions 0 assignees View on GitHub
ci performance pr
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 13h
Merged PRs (30d)
29

Description

When running CircleCI, the `test_unix` job runs the following jobs:

```yml
- run: npm run test -- --browsers Chrome,Firefox
- run: npm run test:integration:chrome
- run: npm run test:integration:firefox
```

Because the `test_unix` job is blocking all other tests, we have to wait for both Chrome and Firefox tests to complete before everything else can run. While it certainly makes sense to wait for one of them, waiting for tests of both browsers before we run everything else seems unnecessary. It would be better to split the `test_unix` job into a `test_chrome` and `test_firefox` job. We can run the Chrome job first, and run the firefox job in parallel with all other test jobs.

Contributor guide

Open the contributing guide

Research direction

Find the CircleCI configuration that defines the test_unix job and inspect its Chrome, Firefox, and integration test commands. Split the workflow into test_chrome and test_firefox jobs, then verify that Chrome remains on the blocking path while Firefox runs in parallel with the other test jobs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ci-cd, testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.