Closed Bug 1584625 Opened 5 years ago Closed 5 years ago

browser_aboutwelcome.js mochitest fails when run twice

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 71
Iteration:
71.3 - Sept 30 - Oct 13
Tracking Status
firefox71 --- fixed

People

(Reporter: pdahiya, Assigned: andreio)

References

Details

(Keywords: github-merged)

Attachments

(3 files)

Attached image RTAMO welcome screen

STR:

  1. On latest master run npm run mochitest twice. First successfully passes test
  2. Running 'npm run mochitest' again fails with below error:

browser/components/newtab/test/browser/browser_aboutwelcome.js
FAIL Uncaught exception - Should render .trailhead.joinCohort in the join-privacy branch - timed out after 50 tries.
FAIL Found an unexpected tab at the end of test run: about:welcome -

Running local nightly and opening about:welcome shows RTAMO welcome ( See attached)

Looks like mochitest is forcing the browser to set some attribution parameters for testing the Return To AMO feature which are not getting cleared after test completes.

Assignee: nobody → andrei.br92
Iteration: --- → 71.3 - Sept 30 - Oct 13
Priority: -- → P1
Blocks: 1586093
No longer blocks: 1586093
Blocks: 1588215
Status: NEW → RESOLVED
Closed: 5 years ago
Keywords: github-merged
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: