From 4b6023cd9fe936dcf275c764e4c81dd9d8104377 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Wed, 28 Sep 2022 14:36:20 +0200 Subject: [PATCH 1/2] Coupld of ui-tests maintenance changes --- ui-tests/jupyter_server_config.py | 10 ---------- ui-tests/package.json | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 ui-tests/jupyter_server_config.py diff --git a/ui-tests/jupyter_server_config.py b/ui-tests/jupyter_server_config.py deleted file mode 100644 index f4199a81f..000000000 --- a/ui-tests/jupyter_server_config.py +++ /dev/null @@ -1,10 +0,0 @@ -from tempfile import mkdtemp - -c.ServerApp.port = 8888 -c.ServerApp.open_browser = False -# c.ServerApp.root_dir = mkdtemp(prefix='galata-test-') -c.ServerApp.token = "" -c.ServerApp.password = "" -c.ServerApp.disable_check_xsrf = True - -c.LabApp.expose_app_in_browser = True diff --git a/ui-tests/package.json b/ui-tests/package.json index 44c06e666..e4a3ab379 100644 --- a/ui-tests/package.json +++ b/ui-tests/package.json @@ -4,7 +4,7 @@ "description": "Voila UI Tests", "private": true, "scripts": { - "start": "voila ../notebooks --no-browser", + "start": "voila ../notebooks --no-browser --show_tracebacks", "start:detached": "yarn run start&", "test": "playwright test", "test:debug": "PWDEBUG=1 playwright test", From 3170adc440e66d376a32975d071510a034635fb3 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Wed, 28 Sep 2022 15:32:29 +0200 Subject: [PATCH 2/2] Fix show_tracebacks option --- ui-tests/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-tests/package.json b/ui-tests/package.json index e4a3ab379..9401aaa6c 100644 --- a/ui-tests/package.json +++ b/ui-tests/package.json @@ -4,7 +4,7 @@ "description": "Voila UI Tests", "private": true, "scripts": { - "start": "voila ../notebooks --no-browser --show_tracebacks", + "start": "voila ../notebooks --no-browser --show_tracebacks True", "start:detached": "yarn run start&", "test": "playwright test", "test:debug": "PWDEBUG=1 playwright test",