You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- FAIL: TestShadowDOMAndDocumentFragment (0.00s)
--- FAIL: TestShadowDOMAndDocumentFragment/waitFor_DocumentFragment (7.32s)
page_test.go:1715:
Error Trace: /home/runner/work/xk6-browser/xk6-browser/tests/page_test.go:1715
Error: Received unexpected error:
Uncaught (in promise) 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)
at <eval>:7:15(23)
Test: TestShadowDOMAndDocumentFragment/waitFor_DocumentFragment
page_test.go:1718:
Error Trace: /home/runner/work/xk6-browser/xk6-browser/tests/page_test.go:1718
Error: Not equal:
expected: "This text is added via a document fragment!"
actual : "GoError: waiting for \"//p[@id=\\\"inDocFrag\\\"]\": getting new document handle: getting document element handle: Cannot find context with specified id"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-This text is added via a document fragment!
+GoError: waiting for "//p[@id=\"inDocFrag\"]": getting new document handle: getting document element handle: Cannot find context with specified id
Test: TestShadowDOMAndDocumentFragment/waitFor_DocumentFragment
Why?
To fix the flakiness. This might also indicate an underlying issue.
How?
No response
Tasks
The content you are editing has changed. Please copy your edits and refresh the page.
What?
Fix the "cannot find context with specified ID" error in the flaky test (see this failure).
Commit: fa9d4de
Message:
Why?
To fix the flakiness. This might also indicate an underlying issue.
How?
No response
Tasks
Tasks
Related PR(s)/Issue(s)
#1315 #1144
The text was updated successfully, but these errors were encountered: