Closed
Bug 1433900
Opened 7 years ago
Closed 7 years ago
Add automated test for "The location of a bookmark can be changed"
Categories
(Firefox :: Bookmarks & History, enhancement, P2)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: pauly, Assigned: pauly)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsearch])
Attachments
(1 file, 1 obsolete file)
5.25 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/4149
Steps:
1. Launch Firefox and open a bookmark.
2. Enable the Bookmarks Toolbar and right-click on a bookmark, then select Properties.
3. Change the value of the Location field and either press enter or click Save.
4. Enable the Bookmarks Sidebar and right-click the same bookmark, then select Properties.
5. Change the value of the Location field and either press enter or click Save.
Expected results:
1. Firefox is successfully launched.
The selected bookmark is successfully loaded.
2. A dialog box is brought up showing the properties of the selected bookmark.
3. The URL of the bookmark is successfully modified.
4. A dialog box is brought up showing the properties of the selected bookmark.
5. The URL of the bookmark is successfully modified.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → paul.silaghi
Attachment #8946603 -
Flags: review?(standard8)
Comment 2•7 years ago
|
||
Comment on attachment 8946603 [details] [diff] [review]
browser_bookmark_change_location
Review of attachment 8946603 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for this, just a couple of small issues to address.
::: browser/components/places/tests/browser/browser_bookmark_change_location.js
@@ +1,1 @@
> +/**
Please include a public domain license header, e.g. https://www.mozilla.org/en-US/MPL/headers/#pd-c
@@ +72,5 @@
> +});
> +
> +add_task(async function test_change_location_from_Sidebar() {
> + let bookmarks = [];
> + await PlacesUtils.bookmarks.fetch({ url: TEST_URL2 }, bm => bookmarks.push(bm));
We don't need to check the number of bookmarks here, so lets just simplify this to:
let bm = await PlacesUtils.bookmarks.fetch({ url: TEST_URL2 });
Attachment #8946603 -
Flags: review?(standard8)
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8946603 -
Attachment is obsolete: true
Attachment #8948352 -
Flags: review?(standard8)
Comment 4•7 years ago
|
||
Comment on attachment 8948352 [details] [diff] [review]
browser_bookmark_change_location
Review of attachment 8948352 [details] [diff] [review]:
-----------------------------------------------------------------
Look good. Thanks. r=Standard8
Attachment #8948352 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 5•7 years ago
|
||
Try results:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=472a524b0774ba0abf42705034ed7c33623e9e74
Keywords: checkin-needed
Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1c858a85df47
Add a test for checking the location of a bookmark can be changed. r=standard8
Keywords: checkin-needed
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Updated•7 years ago
|
Whiteboard: [fxsearch]
You need to log in
before you can comment on or make changes to this bug.
Description
•