Ensure RDM tests work with fission-capable RDM on fission-enabled browser
Categories
(DevTools :: Responsive Design Mode, task, P1)
Tracking
(Fission Milestone:M6, firefox75 fixed)
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: bradwerth, Assigned: bradwerth)
References
(Blocks 3 open bugs)
Details
(Whiteboard: fission-rdm-mvp)
Attachments
(9 files, 2 obsolete files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
Bug 1585121 Part 2: Define getter for responsive/ui.js viewportElement and use it in test functions.
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
RDM tests need to work with two prefs turned on:
- devtools.responsive.browserUI.enabled
- fission.autostart
This will likely reveal many RDM test failures. Part of the fix will be updating the helper functions in devtools/client/responsive/test/browser/head.js.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.
This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:
0ee3c76a-bc79-4eb2-8d12-05dc0b68e732
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Some tests will take more effort to get working in automation. As with many RDM features, the test harness struggles to test behavior that can be verified interactively (see meta Bug 1520057). The patches here will disable some tests to be fixed in a follow-up bug.
Assignee | ||
Comment 5•4 years ago
|
||
Many RDM tests check ui.toolWindow to get access to the store and document.
Instead of changing all of those tests, this creates an accessor to do the
right thing depending on whether the new browser UI is in use.
Assignee | ||
Comment 6•4 years ago
|
||
Tests need to check properties of the viewport element (to check size,
typically). This getter provides a way to do that that works with the new
browser UI.
Depends on D63411
Assignee | ||
Comment 7•4 years ago
|
||
There are two functional changes:
-
Chain return values to task functions. This change allows the preTask
return value to affect the behavior of the task, and for the return values
of both of those functions to affect the behavior of the postTask. This can
be used to create promises that are later awaited, for example. -
Wait before calling the task. Many RDM tests have entry points that wait
for the viewport to be loaded and the device list to be populated.
Additionally, for new browser UI tests need to wait until the viewport has
been sized and placed correctly. These waits have been moved into the
addRDMTaskWithPreAndPost function.
Depends on D63412
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D63413
Assignee | ||
Comment 9•4 years ago
|
||
Depends on D63416
Assignee | ||
Comment 10•4 years ago
|
||
Depends on D63417
Assignee | ||
Comment 11•4 years ago
|
||
This doesn't activate the test yet (pass true as final arg to addRDMTask),
because of some problems with addDeviceInModal with new browser UI. More
fixes needed there.
Depends on D63418
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 12•4 years ago
|
||
Depends on D63412
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 13•4 years ago
|
||
Changes to these tests are being bundled together to reduce the overall
number of patch parts.
Depends on D63417
Updated•4 years ago
|
Assignee | ||
Comment 14•4 years ago
|
||
Depends on D64250
Assignee | ||
Comment 15•4 years ago
|
||
Depends on D64493
Assignee | ||
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
Pushed by bwerth@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/483a2fd12471 Part 1: Make responsive/ui.js toolWindow into a read-only accessor, and use it in test functions. r=mtigley https://hg.mozilla.org/integration/autoland/rev/9e709b3953ac Part 2: Define getter for responsive/ui.js viewportElement and use it in test functions. r=mtigley https://hg.mozilla.org/integration/autoland/rev/a14a5c948448 Part 3: Give new browser UI ability to response to content window resize. r=mtigley https://hg.mozilla.org/integration/autoland/rev/f162afdede72 Part 4: Extend capabilities of addRDMTaskWithPreAndPost. r=mtigley https://hg.mozilla.org/integration/autoland/rev/109076b394ae Part 5: Disable tests that can't be easily modernized for new browser UI. r=mtigley https://hg.mozilla.org/integration/autoland/rev/9284a26e8ef4 Part 6: Fix and activate RDM tests browser_a* through browser_d*. r=mtigley https://hg.mozilla.org/integration/autoland/rev/ba6b8b10f45e Part 7: Fix and activate RDM tests browser_e* through browser_s*. r=mtigley https://hg.mozilla.org/integration/autoland/rev/75bea7454e51 Part 8: Fix and activate RDM tests browser_t* through browser_u*. r=mtigley https://hg.mozilla.org/integration/autoland/rev/dc12777129f3 Part 9: Fix and activate RDM tests browser_v* through browser_z*. r=mtigley
Comment 18•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/483a2fd12471
https://hg.mozilla.org/mozilla-central/rev/9e709b3953ac
https://hg.mozilla.org/mozilla-central/rev/a14a5c948448
https://hg.mozilla.org/mozilla-central/rev/f162afdede72
https://hg.mozilla.org/mozilla-central/rev/109076b394ae
https://hg.mozilla.org/mozilla-central/rev/9284a26e8ef4
https://hg.mozilla.org/mozilla-central/rev/ba6b8b10f45e
https://hg.mozilla.org/mozilla-central/rev/75bea7454e51
https://hg.mozilla.org/mozilla-central/rev/dc12777129f3
Description
•