Comments (2)
Use npx cross-env 'DEBUG=pw:browser' CI=true playwright test
to debug browser init and check the logs.
from logseq.
This is the output I get on a 10s timeout:
Running 167 tests using 1 worker
°Creating test graph directory: /home/sty/Code/logseq/tmp/#e2e-test/@EG0B80p1Dj
pw:browser <launching> /home/sty/Code/logseq/node_modules/electron/dist/electron -r /home/sty/Code/logseq/node_modules/playwright-core/lib/server/electron/loader.js --inspect=0 --remote-debugging-port=0 electron.js +0ms
pw:browser <launched> pid=5346 +6ms
pw:browser [pid=5346][err] Debugger listening on ws://127.0.0.1:38625/69e72233-4899-4292-ae98-cc631ed894a8 +103ms
pw:browser [pid=5346][err] For help, see: https://nodejs.org/en/docs/inspector +1ms
pw:browser <ws connecting> ws://127.0.0.1:38625/69e72233-4899-4292-ae98-cc631ed894a8 +0ms
pw:browser <ws connected> ws://127.0.0.1:38625/69e72233-4899-4292-ae98-cc631ed894a8 +8ms
pw:browser [pid=5346][err] Debugger attached. +1ms
F
1) basic.spec.ts:8:5 › create page and blocks, save to disk ───────────────────────
electron.launch: Timeout 10000ms exceeded.
at fixtures.ts:55
53 | });
54 |
> 55 | electronApp = await electron.launch({
| ^
56 | cwd: "./static",
57 | args: ["electron.js"],
58 | locale: 'en',
at /home/sty/Code/logseq/e2e-tests/fixtures.ts:55:17
1 failed
basic.spec.ts:8:5 › create page and blocks, save to disk ────────────────────────
166 skipped
This is with a base.slow()
marker (90s timeout):
Running 167 tests using 1 worker
°Creating test graph directory: /home/sty/Code/logseq/tmp/#e2e-test/@9hcHsyUbEA
pw:browser <launching> /home/sty/Code/logseq/node_modules/electron/dist/electron -r /home/sty/Code/logseq/node_modules/playwright-core/lib/server/electron/loader.js --inspect=0 --remote-debugging-port=0 electron.js +0ms
pw:browser <launched> pid=5719 +5ms
pw:browser [pid=5719][err] Debugger listening on ws://127.0.0.1:43819/a2feedaf-1cf4-4560-bfd7-79f7f4719d48 +103ms
pw:browser [pid=5719][err] For help, see: https://nodejs.org/en/docs/inspector +1ms
pw:browser <ws connecting> ws://127.0.0.1:43819/a2feedaf-1cf4-4560-bfd7-79f7f4719d48 +0ms
pw:browser <ws connected> ws://127.0.0.1:43819/a2feedaf-1cf4-4560-bfd7-79f7f4719d48 +11ms
pw:browser [pid=5719][err] Debugger attached. +1ms
pw:browser [pid=5719][err] (rsapi) init loggers +775ms
pw:browser [pid=5719][err] +7s
pw:browser [pid=5719][err] DevTools listening on ws://127.0.0.1:36193/devtools/browser/2e0cce85-0f8d-4af5-a85c-bdb4f32f5fbf +0ms
pw:browser <ws connecting> ws://127.0.0.1:36193/devtools/browser/2e0cce85-0f8d-4af5-a85c-bdb4f32f5fbf +1ms
pw:browser <ws connected> ws://127.0.0.1:36193/devtools/browser/2e0cce85-0f8d-4af5-a85c-bdb4f32f5fbf +271ms
pw:browser [pid=5719][out] shadow-cljs - #4 ready! +247ms
pw:browser [pid=5719][out] 11:11:03.156 › Logseq App(27.1.3) Starting... +3s
pw:browser [pid=5719][out] 11:11:03.744 › restore proxy settings {:type "system"} +510ms
pw:browser [pid=5719][out] 11:11:03.746 › set proxy to {:type "system"} +3ms
^[[CT
1) basic.spec.ts:8:5 › create page and blocks, save to disk ───────────────────────
"beforeAll" hook timeout of 90000ms exceeded.
at fixtures.ts:45
43 | }
44 |
> 45 | base.beforeAll(async () => {
| ^
46 | base.slow()
47 | if (electronApp) {
48 | return
at /home/sty/Code/logseq/e2e-tests/fixtures.ts:45:6
1 failed
basic.spec.ts:8:5 › create page and blocks, save to disk ────────────────────────
166 skipped
It doesn't seem to give any additional info.
from logseq.
Related Issues (20)
- Zotero Weblink are not working HOT 1
- Katex in reference render poorly HOT 2
- 拷贝粘贴网页的时候,其中的图片应该粘贴原始图片二进制文件,而不是网址链接。不然离线或时间久远后会丢失。When copying and pasting web pages, the images should be pasted as binary files of the original images, not as URLs. Otherwise, they may be lost when offline or after a long period of time.
- Graph View not working HOT 2
- the buttons in the top right corner mixed up. HOT 1
- Can't open new window HOT 9
- custom.css, config.edn, etc. do not function when they belong to read-only filesystems
- logseq
- file sync storage exceed limit HOT 4
- [Android] Random blocks replaced by `- id:: xxxx`
- Config editor numbers overlaping HOT 1
- Outline structure is unparsable by screen readers
- Whiteboard - Error: No shape type provided
- Property to exclude page from search
- Logseq Sync's deletion handling outside of standard folder is buggy
- Error on the lastest binary when running logseq.exe HOT 1
- Assets are not in search result // Unable to perform normal asset retrieval.
- Synchronisation is destructive HOT 1
- Did not create logseq folder with logseq icon in cloud that I cannot create a graph with icloud sync. HOT 1
- Card category query does not trim trailing whitespace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logseq.