File tree 2 files changed +13
-13
lines changed
2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,15 @@ services:
273
273
- interactive_services_subnet
274
274
- computational_services_subnet
275
275
healthcheck :
276
- test : ["CMD", "pg_isready", "-U", "${POSTGRES_USER}"]
276
+ test :
277
+ [
278
+ " CMD" ,
279
+ " pg_isready" ,
280
+ " --username" ,
281
+ " ${POSTGRES_USER}" ,
282
+ " --dbname" ,
283
+ " ${POSTGRES_DB}" ,
284
+ ]
277
285
interval : 15s
278
286
retries : 5
279
287
# NOTES: this is not yet compatible with portainer deployment but could work also for other containers
Original file line number Diff line number Diff line change @@ -48,20 +48,12 @@ async function runTutorial() {
48
48
49
49
50
50
// inside the first notebook, click Run all button
51
- const runAllButtonSelector = '#run_int > button:nth-child(4)' ;
52
- await utils . waitAndClick ( nbIframe , runAllButtonSelector ) ;
51
+ const cellMenuSelector = '#menus > div > div > ul > li:nth-child(5) > a'
52
+ await utils . waitAndClick ( nbIframe , cellMenuSelector ) ;
53
+ const runAllCellsSelector = '#run_all_cells > a'
54
+ await utils . waitAndClick ( nbIframe , runAllCellsSelector ) ;
53
55
await tutorial . takeScreenshot ( "pressRunAllButtonNotebook" ) ;
54
56
55
- // inside the first notebook, click confirm run all (NOTE: this dialog does not appear in headless mode)
56
- try {
57
- const confirmRunAllButtonSelector = 'body > div.modal.fade.in > div > div > div.modal-footer > button.btn.btn-default.btn-sm.btn-danger' ;
58
- await utils . waitAndClick ( nbIframe , confirmRunAllButtonSelector , 10000 ) ;
59
- await tutorial . takeScreenshot ( "pressRunNotebookAfterConfirmation" ) ;
60
- } catch ( err ) {
61
- console . log ( "The confirmation dialog appears only in --demo mode." ) ;
62
- }
63
-
64
-
65
57
// now check that the input contains [4]
66
58
console . log ( 'Waiting for notebook results...' ) ;
67
59
const finishedRunningCheckboxSelector = '#notebook-container > div:nth-child(5) > div.input > div.prompt_container > div.prompt.input_prompt' ;
You can’t perform that action at this time.
0 commit comments