We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WaitFor
WaitFor generates an NPD when the execution context is not found.
time="2024-05-09T08:32:41Z" level=error msg="error on evaluating window.k6SpanId: evaluating JS in global context: context canceled" category="FrameSession:onFrameNavigated" elapsed="0 ms" source=browser --- FAIL: TestShadowDOMAndDocumentFragment (15.30s) --- FAIL: TestShadowDOMAndDocumentFragment/waitFor_DocumentFragment (0.47s) page_test.go:1697: Error Trace: /home/runner/work/xk6-browser/xk6-browser/tests/page_test.go:1697 Error: Received unexpected error: GoError: waiting for "//p[@id=\"inDocFrag\"]": getting new document handle: getting document element handle: Cannot find context with specified id at github.com/grafana/xk6-browser/common.(*Locator).WaitFor-fm (native) Test: TestShadowDOMAndDocumentFragment/waitFor_DocumentFragment panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1ad8b1e] goroutine 1310 [running]: testing.tRunner.func1.2({0x1c0ba60, 0x2daa270}) /opt/hostedtoolcache/go/1.21.10/x64/src/testing/testing.go:1545 +0x3f7 testing.tRunner.func1() /opt/hostedtoolcache/go/1.21.10/x64/src/testing/testing.go:1548 +0x716 panic({0x1c0ba60?, 0x2daa270?}) /opt/hostedtoolcache/go/1.21.10/x64/src/runtime/panic.go:[92](https://github.com/grafana/xk6-browser/actions/runs/9014614523/job/24767627412?pr=1318#step:4:93)0 +0x270 github.com/grafana/xk6-browser/tests.TestShadowDOMAndDocumentFragment.func1(0x0?) /home/runner/work/xk6-browser/xk6-browser/tests/page_test.go:1698 +0x1fe testing.tRunner(0xc00092a4e0, 0xc00096f7c0) /opt/hostedtoolcache/go/1.21.10/x64/src/testing/testing.go:15[95](https://github.com/grafana/xk6-browser/actions/runs/9014614523/job/24767627412?pr=1318#step:4:96) +0x262 created by testing.(*T).Run in goroutine 676 /opt/hostedtoolcache/go/1.21.10/x64/src/testing/testing.go:1648 +0x846 FAIL github.com/grafana/xk6-browser/tests 19.282s FAIL
Reliability.
No response
The content you are editing has changed. Please copy your edits and refresh the page.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What?
WaitFor
generates an NPD when the execution context is not found.Details
Why?
Reliability.
How?
No response
Tasks
Tasks
Related PR(s)/Issue(s)
No response
The text was updated successfully, but these errors were encountered: