4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 67
67
QDB_HTTP_PASSWORD : " quest"
68
68
69
69
- name : Run browser-tests test
70
- run : yarn workspace browser-tests test
70
+ run : |
71
+ for i in {1..10}; do
72
+ echo "=== Running editor tests - Iteration $i of 10 ==="
73
+ yarn workspace browser-tests test || exit 1
74
+ done
71
75
72
76
- name : Print Log Files
73
77
if : success() || failure()
Original file line number Diff line number Diff line change @@ -148,7 +148,12 @@ Cypress.Commands.add("getMountedEditor", () =>
148
148
Cypress . Commands . add ( "getEditor" , ( ) => cy . get ( ".monaco-editor[role='code'] " ) ) ;
149
149
150
150
Cypress . Commands . add ( "getEditorContent" , ( ) =>
151
- cy . get ( ".monaco-editor textarea" )
151
+ cy
152
+ . get ( ".monaco-editor" )
153
+ . should ( "be.visible" )
154
+ . find ( "textarea" )
155
+ . should ( "exist" )
156
+ . should ( "be.visible" )
152
157
) ;
153
158
154
159
Cypress . Commands . add ( "getEditorHitbox" , ( ) =>
Original file line number Diff line number Diff line change 3
3
"packageManager" : " yarn@3.1.1" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
- "test" : " cypress run --env failOnSnapshotDiff=false --env requireSnapshots=false --spec 'cypress/integration/console/* .spec.js'" ,
6
+ "test" : " cypress run --env failOnSnapshotDiff=false --env requireSnapshots=false --spec 'cypress/integration/console/editor .spec.js'" ,
7
7
"test:auth" : " cypress run --env failOnSnapshotDiff=false --env requireSnapshots=false --spec 'cypress/integration/auth/*.spec.js'" ,
8
8
"test:enterprise" : " cypress run --env failOnSnapshotDiff=false --env requireSnapshots=false --spec 'cypress/integration/enterprise/*.spec.js'" ,
9
9
"test:update" : " yarn run test --env updateSnapshots=true"
0 commit comments