File tree 1 file changed +4
-4
lines changed
visual-js/visual-wdio/src
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -292,13 +292,13 @@ export default class SauceVisualService implements Services.ServiceInstance {
292
292
try {
293
293
build = await this . apiClient . createBuild ( {
294
294
name :
295
- this . options . buildName ||
296
295
SAUCE_VISUAL_BUILD_NAME ||
296
+ this . options . buildName ||
297
297
'WebdriverIO Visual Testing' ,
298
- project : this . options . project || SAUCE_VISUAL_PROJECT || null ,
299
- branch : this . options . branch || SAUCE_VISUAL_BRANCH || null ,
298
+ project : SAUCE_VISUAL_PROJECT || this . options . project || null ,
299
+ branch : SAUCE_VISUAL_BRANCH || this . options . branch || null ,
300
300
defaultBranch :
301
- this . options . defaultBranch || SAUCE_VISUAL_DEFAULT_BRANCH || null ,
301
+ SAUCE_VISUAL_DEFAULT_BRANCH || this . options . defaultBranch || null ,
302
302
} ) ;
303
303
} catch ( e : unknown ) {
304
304
const errorMessage = ensureError ( e ) . message ?? 'Unknown error' ;
You can’t perform that action at this time.
0 commit comments