Closed Bug 1432412 Opened 6 years ago Closed 3 years ago

Re-implement browser_copy_folder_tree.js

Categories

(Firefox :: Bookmarks & History, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: standard8, Assigned: janey, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxsearch])

Attachments

(1 file)

In bug 1131491 we removed browser_copy_folder_tree.js as it was using low-level functions like the old sync transactions.

We should re-implement it in a fashion where we're managing it at the UI level and checking the high-level user interactions are working correctly.
the test was described as:
 Deep copy of bookmark data, using the front-end codepath:
 - create test folder A
 - add a subfolder to folder A, and add items to it
 - validate folder A (sanity check)
 - copy folder A into a new folder B
 - validate folder B
 - undo copy transaction
 - validate folder B (empty)
 - redo copy transaction
 - validate folder B's contents

We should do this simulating ui interactions in the Library

Hi Mak!
It seems like a very interesting one and I definitely would love to give it a go but I will probably;y need some navigation if you don't mind.
Thanks,
Jane

I'm available on Matrix or feel free to Request information here or on Phabricator. Thanks.

Assignee: nobody → jenyabrentnall
Status: NEW → ASSIGNED
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/0e39bb69595c
Re-implement browser_copy_folder_tree.js. r=mak

The screenshot looks as expected https://firefoxci.taskcluster-artifacts.net/FVLwJKaETEanMTDwIbPQrQ/0/public/test_info/mozilla-test-fail-screenshot_n60xsru8.png and this times out on a call to paste(). That's unexpected, especially since it only happens on Linux?
I'd suggest to reland with a skip-if on Linux and file a separate bug to figure out what's up there.

Blocks: 1739081

we're relanding with linux disabled and investigating it in a separate bug
Try https://treeherder.mozilla.org/jobs?repo=try&revision=de4a98f8547ec2b2d1e504558956d7408626df24

Flags: needinfo?(jenyabrentnall)
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/2968b6922a0f
Re-implement browser_copy_folder_tree.js. r=mak
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: