You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running percy along with the functional Test and have amended the functional Test to call percysnapshot based on specific environment variable.
I am running my test which are bdd(cucumber js).There are 50 tests and the percy is enabled only on just 2.
When i run the below command
npx percy exec --verbose -- wdio ./dist/config/wdio.visual.conf.js
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the below config for percy
"percy": {
"version": 2,
"static": {
"baseUrl": "/"
},
"snapshot": {
"widths": [
375,
1280
],
"min-height": 1024
},
"discovery": {
"request-headers": {
"Authorization": "Token $PERCY_TOKEN"
},
"networkIdleTimeout": 750
},
"upload": {
"files": "**/*.{png,jpg,jpeg}",
"ignore": ""
}
}
I am running percy along with the functional Test and have amended the functional Test to call percysnapshot based on specific environment variable.
I am running my test which are bdd(cucumber js).There are 50 tests and the percy is enabled only on just 2.
When i run the below command
npx percy exec --verbose -- wdio ./dist/config/wdio.visual.conf.js
The percy server starts as usual
[�[95mpercy:config�[39m] Using config:
{
version: 2,
static: {
baseUrl: '/'
},
snapshot: {
widths: [
375,
1280
],
minHeight: 1024
},
discovery: {
requestHeaders: {
Authorization: 'Token $PERCY_TOKEN'
},
networkIdleTimeout: 750
},
upload: {
files: '**/*.{png,jpg,jpeg}',
ignore: ''
}
}
[�[95mpercy:client�[39m] Creating a new build... �[90m(15ms)�[39m
[�[95mpercy:core:install�[39m] Downloading Chromium 929511...
[�[95mpercy:core:install�[39m] Successfully downloaded Chromium 929511 �[90m(6905ms)�[39m
[�[95mpercy:core:browser�[39m] Launching browser �[90m(23ms)�[39m
[�[95mpercy:core:browser�[39m] Browser connected [101]: HeadlessChrome/96.0.4664.0 �[90m(293ms)�[39m
[�[95mpercy:core�[39m] Percy has started! �[90m(7ms)�[39m
[�[95mpercy:cli:exec�[39m] Running "wdio ./dist/config/wdio.visual.conf.js" �[90m(6ms)�[39m
Executed for chrome
Executed for chrome
Execution of 8 workers started at 2022-05-31T03:10:17.509Z
Create Directory Started for directory/e2e
.
..
.
.
..
[�[95mpercy:core:browser�[39m] Closing browser �[90m(28356ms)�[39m
[�[95mpercy:core:browser�[39m] Browser closed �[90m(34ms)�[39m
[�[95mpercy:client�[39m] Finalizing build 18511892... �[90m(0ms)�[39m
[�[95mpercy:core�[39m] Finalized build #93: �[34mhttps://percy.io/XXXXXXX/abcd/builds/XXXXXXXX�[39m �[90m(547ms)�[39m
section_end:1653967279:step_script
�[0Ksection_start:1653967279:after_script
�[0K�[0K�[36;1mRunning after_script�[0;m�[0;m
It doesn't run all of the tests.Any idea whats hapenning here...is it due to parallelization?
Beta Was this translation helpful? Give feedback.
All reactions