Closed Bug 1881106 Opened 2 years ago Closed 2 years ago

ModalOverlay.test.jsx is in the wrong directory (asrouter, should be in newtab)

Categories

(Firefox :: Messaging System, defect, P1)

defect
Points:
2

Tracking

()

RESOLVED FIXED
125 Branch
Iteration:
125.1 - Feb 19 - Mar 1
Tracking Status
firefox-esr115 --- unaffected
firefox123 --- unaffected
firefox124 --- wontfix
firefox125 --- fixed

People

(Reporter: aminomancer, Assigned: aminomancer)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

ModalOverlay.test.jsx is in browser/components/asrouter/tests/unit, but I think it should be in browser/components/newtab/test/unit/content-src/components, to correspond to the location of the file it's testing, ModalOverlay.jsx. Consequently, the import path in the test file seems incorrect, it's not navigating back to the newtab directory, and there's no file at the specified path, so the import can't resolve.

Edit: From the hg history it looks like the component was moved to newtab in bug 1877202, but the test file was left in asrouter.

Regressed by: 1877202
No longer regressed by: 1868838
Assignee: nobody → shughes
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1877202

Severity: -- → S3
Iteration: --- → 125.1 - Feb 19 - Mar 1
Points: --- → 2
Priority: -- → P1

:aminomancer any update on landing this? wondering if we are targeting 124 before early beta (EOW).

Flags: needinfo?(shughes)

(In reply to Dianna Smith [:diannaS] from comment #3)

:aminomancer any update on landing this? wondering if we are targeting 124 before early beta (EOW).

We are landing it in 125.

Flags: needinfo?(shughes)
Pushed by shughes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/149f61eecb69 Move ModalOverlay.test.jsx to newtab directory. r=omc-reviewers,negin
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: