mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 02:39:56 +00:00
[e2e] Fix intermittent visual test timeouts (#5743)
* try fix visual test failure * disable actionTimeout * increase percy loglevel * comment * Remove `@percy/cli` dependency as it may be conflicting * Upgrade `percy/cli` to 1.10.2 * drop percy/cli version down to 1.7.2 * enable timeouts for actions again
This commit is contained in:
parent
47fb81ff1c
commit
c231c2d7cb
@ -6,6 +6,7 @@ executors:
|
||||
environment:
|
||||
NODE_ENV: development # Needed to ensure 'dist' folder created and devDependencies installed
|
||||
PERCY_POSTINSTALL_BROWSER: 'true' # Needed to store the percy browser in cache deps
|
||||
PERCY_LOGLEVEL: 'debug' # Enable DEBUG level logging for Percy (Issue: https://github.com/nasa/openmct/issues/5742)
|
||||
parameters:
|
||||
BUST_CACHE:
|
||||
description: "Set this with the CircleCI UI Trigger Workflow button (boolean = true) to bust the cache!"
|
||||
|
@ -7,8 +7,8 @@ const config = {
|
||||
retries: 0, // visual tests should never retry due to snapshot comparison errors
|
||||
testDir: 'tests/visual',
|
||||
testMatch: '**/*.visual.spec.js', // only run visual tests
|
||||
timeout: 60 * 1000,
|
||||
workers: 2, //Limit to 2 for CircleCI Agent
|
||||
timeout: 90 * 1000,
|
||||
workers: 1, //Limit to 1 for CircleCI Agent
|
||||
webServer: {
|
||||
command: 'cross-env NODE_ENV=test npm run start',
|
||||
url: 'http://localhost:8080/#',
|
||||
|
@ -5,7 +5,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/eslint-parser": "7.18.9",
|
||||
"@braintree/sanitize-url": "6.0.0",
|
||||
"@percy/cli": "1.10.0",
|
||||
"@percy/cli": "1.7.2",
|
||||
"@percy/playwright": "1.0.4",
|
||||
"@playwright/test": "1.23.0",
|
||||
"@types/eventemitter3": "^1.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user