2
2
3
3
The test will produce a video to help debugging in case of failures and check what happened.
4
4
5
+ 0 . Install additional dependency:
6
+
7
+ ```
8
+ pip install jupyter-archive
9
+ ```
10
+
5
11
1 . Compile the extension:
6
12
7
13
```
@@ -12,7 +18,7 @@ jlpm run build:prod
12
18
2 . Start JupyterLab _ with the extension installed_ without any token or password
13
19
14
20
```
15
- jupyter lab --config ./ui-tests/jupyter_server_config .py
21
+ jupyter lab --config ./ui-tests/jupyter_server_test_config .py
16
22
```
17
23
18
24
3 . Execute in another console the [ Playwright] ( https://playwright.dev/docs/intro ) tests:
@@ -28,6 +34,12 @@ jlpm playwright test
28
34
29
35
To create tests, the easiest way is to use the code generator tool of playwright:
30
36
37
+ 0 . Install additional dependency:
38
+
39
+ ```
40
+ pip install jupyter-archive
41
+ ```
42
+
31
43
1 . Compile the extension:
32
44
33
45
```
@@ -38,7 +50,7 @@ jlpm run build:prod
38
50
2 . Start JupyterLab _ with the extension installed_ without any token or password:
39
51
40
52
```
41
- jupyter lab --config ./ui-tests/jupyter_server_config .py
53
+ jupyter lab --config ./ui-tests/jupyter_server_test_config .py
42
54
```
43
55
44
56
3 . Launch the code generator tool:
@@ -54,6 +66,12 @@ jlpm playwright codegen localhost:8888
54
66
55
67
To debug tests, a good way is to use the inspector tool of playwright:
56
68
69
+ 0 . Install additional dependency:
70
+
71
+ ```
72
+ pip install jupyter-archive
73
+ ```
74
+
57
75
1 . Compile the extension:
58
76
59
77
```
@@ -64,7 +82,7 @@ jlpm run build:prod
64
82
2 . Start JupyterLab _ with the extension installed_ without any token or password:
65
83
66
84
```
67
- jupyter lab --config ./ui-tests/jupyter_server_config .py
85
+ jupyter lab --config ./ui-tests/jupyter_server_test_config .py
68
86
```
69
87
70
88
3 . Launch the debug tool:
0 commit comments