Gaia UI tests occasionally fail when running against B2G desktop client builds with call to setTimeout blocked by CSP

RESOLVED FIXED

Status

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: davehunt, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-automation-blocked])

Attachments

(1 attachment)

When running the Gaia UI tests against a B2G desktop client I occasionally see a failure due to "call to setTimeout blocked by CSP", which causes all the following tests to also fail.

You can see this Travis-CI build for an example:
https://travis-ci.org/davehunt/gaia-ui-tests/builds/5005711/#L832

Log is attached.
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [qa-automation-blocked]
With the next release of Marionette we will be able to restart the B2G desktop client between tests. This means although this will most likely still occur, we will be able to recover from it.
I have been able to narrow this down to a specific unit test that was failing 1 in every 5 runs. It was attempting to kill an application that wasn't currently in view, so I simply added a launch for the application before killing it to bring it into view and now it passes every time.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.