File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1383,9 +1383,8 @@ def uploadTracingResult(ctx):
13831383 "commands" : [
13841384 "mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY" ,
13851385 "mc cp -a %s/tests/e2e/test-results/* s3/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/" % dir ["web" ],
1386- "cd %s/tests/e2e/test-results/" % dir ["web" ],
13871386 'echo "To see the trace, please open the following link in the console"' ,
1388- 'find . - name "trace.zip" | sed "s|^./ ||" | while read f; do echo "npx playwright show-trace $MC_HOST/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER /$f"; done' ,
1387+ 'mc find s3/$PUBLIC_BUCKET/web/tracing/$CI_REPO_NAME/$CI_PIPELINE_NUMBER/ -- name "trace.zip" | sed "s|s3/$PUBLIC_BUCKET/ ||" | while read f; do echo "npx playwright show-trace $MC_HOST/$PUBLIC_BUCKET/$f"; done' ,
13891388 ],
13901389 "when" : {
13911390 "status" : status ,
Original file line number Diff line number Diff line change 7878 case 'image' :
7979 await spacesObject . changeSpaceImage ( {
8080 key,
81- resource : this . filesEnvironment . getFile ( { name : value } )
81+ resource : world . filesEnvironment . getFile ( { name : value } )
8282 } )
8383 break
8484 case 'icon' :
@@ -118,7 +118,7 @@ When(
118118 case 'image' :
119119 await spacesObject . changeSpaceImage ( {
120120 key,
121- resource : this . filesEnvironment . getFile ( { name : value } ) ,
121+ resource : world . filesEnvironment . getFile ( { name : value } ) ,
122122 contextMenu : true
123123 } )
124124 break
You can’t perform that action at this time.
0 commit comments