Closed Bug 1721236 Opened 4 years ago Closed 4 years ago

Intermittent ElementHandle specs ElementHandle.click should work for Shadow DOM v1 (elementhandle.spec.ts) | expected PASS

Categories

(Remote Protocol :: Agent, defect, P5)

defect

Tracking

(firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

Details

(Keywords: intermittent-failure)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=345654850&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RRk4BXXSTB2VFC9Wt9mI-A/runs/0/artifacts/public/logs/live_backing.log




[task 2021-07-19T17:10:19.010Z] PID 395 | 1626714619010	CDP	TRACE	CDPConnection {1d13ace1-5171-40b6-a642-a6e50a285392} <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"52e06afb-4788-4044-843c-0489da94e462","message":"{\"id\":222,\"result\":{}}"}}
[task 2021-07-19T17:10:19.011Z] PID 395 | 1626714619010	CDP	TRACE	CDPConnection {1d13ace1-5171-40b6-a642-a6e50a285392} -> {"sessionId":"52e06afb-4788-4044-843c-0489da94e462","method":"Runtime.callFunctionOn","params":{"functionDeclaration":"() =>  ... tion_script__\n","executionContextId":3,"arguments":[],"returnByValue":true,"awaitPromise":true,"userGesture":true},"id":223}
[task 2021-07-19T17:10:19.012Z] PID 395 | 1626714619012	CDP	TRACE	CDPConnection {1d13ace1-5171-40b6-a642-a6e50a285392} <- {"id":223,"result":{"result":{"type":"boolean","value":false,"description":"false"}},"sessionId":"52e06afb-4788-4044-843c-0489da94e462"}
[task 2021-07-19T17:10:19.012Z] PID 395 | 1626714619012	CDP	TRACE	CDPConnection {1d13ace1-5171-40b6-a642-a6e50a285392} <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"52e06afb-4788-4044-843c-0489da94e462","message":"{\"id\":223,\"result\":{\"result\":{\"type\":\"boolean\",\"value\":false,\"description\":\"false\"}}}"}}
[task 2021-07-19T17:10:19.051Z] TEST-UNEXPECTED-FAIL | ElementHandle specs ElementHandle.click should work for Shadow DOM v1 (elementhandle.spec.ts) | expected PASS
[task 2021-07-19T17:10:19.051Z] TEST-INFO took 408ms
[task 2021-07-19T17:10:19.051Z] PID 395 | ["fail",{"title":"should work for Shadow DOM v1","fullTitle":"ElementHandle specs ElementHandle.click should work for Shadow DOM v1","file":"/builds/worker/checkouts/gecko/remote/test/puppeteer/test/elementhandle.spec.ts","duration":164,"currentRetry":0,"err":"expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false","stack":"Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n    at Context.<anonymous> (/builds/worker/checkouts/gecko/remote/test/puppeteer/test/elementhandle.spec.ts:197:9)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}]
[task 2021-07-19T17:10:19.051Z] PID 395 | 1626714619051	CDP	TRACE	CDPConnection {1d13ace1-5171-40b6-a642-a6e50a285392} -> {"method":"Target.disposeBrowserContext","params":{"browserContextId":15},"id":224}

The underlying issue here is:
https://searchfox.org/mozilla-central/rev/a14ecd829fdb1e9780b7c100016c6a3d951cf7da/remote/test/puppeteer/test/elementhandle.spec.ts#191-197

It means that the click on the button didn't actually work and the global clicked variable hasn't been set to true.

So far a one-time only issue. Lets observe.

This is probably similar to bug 1717140.

See Also: → 1717140
Depends on: 1740798

Fixed by my patch on bug 1740798.

Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.