File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929# Files in the JupyterLite drive that a command's stdout and stderr are written to.
3030# Terminal path /drive/<name> corresponds to JupyterLite contents path <name>.
31- STDOUT_FILE = "lite_stdout .txt"
32- STDERR_FILE = "lite_stderr .txt"
31+ STDOUT_FILE = "stdout .txt"
32+ STDERR_FILE = "stderr .txt"
3333
3434# Command line that writes the exit code of the previous command line and the shell's cwd to the
3535# terminal, as lines such as '?=0' and 'PWD=/drive'.
Original file line number Diff line number Diff line change @@ -121,23 +121,6 @@ GIT2CPP_TEST_WASM=cockle pytest -v test_git.py::test_version
121121GIT2CPP_TEST_WASM=lite pytest -v test_git.py::test_version
122122```
123123
124- ### Watching the tests in a browser
125-
126- The tests use [ pytest-playwright] ( https://playwright.dev/python/docs/test-runners ) so its command
127- line options can be used to see what is happening in the browser, for both ` cockle ` and ` lite ` :
128-
129- - ` --headed ` shows the browser window, and ` --slowmo <ms> ` slows down each browser operation.
130- - ` PWDEBUG=1 ` opens the Playwright Inspector to step through browser operations (use with ` -s ` ).
131- - ` --tracing on ` (or ` retain-on-failure ` ) records a trace which can be viewed using
132- ` playwright show-trace test-results/<test-name>/trace.zip ` .
133- - ` --video on ` (or ` retain-on-failure ` ) records a video of each test in ` test-results ` .
134-
135- For example:
136-
137- ``` bash
138- GIT2CPP_TEST_WASM=lite pytest -v --headed --slowmo 100 test_git.py::test_version
139- ```
140-
141124### Manually running the test servers
142125
143126If wasm tests are failing it can be helpful to run the test servers and manually run ` cockle `
Original file line number Diff line number Diff line change 1010 "vi" : " vim"
1111 },
1212 "environment" : {
13+ "GIT_CORS_PROXY" : " http://localhost:8881/" ,
1314 "GIT_AUTHOR_NAME" : " Jane Doe" ,
1415 "GIT_AUTHOR_EMAIL" : " jane.doe@blabla.com" ,
1516 "GIT_COMMITTER_NAME" : " Jane Doe" ,
You can’t perform that action at this time.
0 commit comments