Closed Bug 1410836 Opened 7 years ago Closed 6 years ago

Add automated test for "Top Sites - Edit menu - Unpin item"

Categories

(Firefox :: New Tab Page, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1410880
Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix

People

(Reporter: icrisan, Assigned: icrisan)

References

(Blocks 1 open bug)

Details

testrail link: https://testrail.stage.mozaws.net/index.php?/cases/view/76181

Preconditions: Top Sites Edit menu is opened.

Steps:
1. Hover a Top Sites tile
2. Click on "Unpin this site" button
3. Click "Done" button

Expected results:
Step 1:
The tile is surrounded by a gray border.
"Unpin this site", "Edit" and "Dismiss this site" options are displayed in the top-right corner of the tile and are separated by a gray line.
Step 2:
Top Sites tile is unpinned.
"Unpin this site" options from the top-right corner of the tile is changed into "Pin this site"
The pin icon displayed in front of the tile title is removed.
Step 3:
Top Sites Edit overlay is dismissed.
Top Sites tile is marked as unpinned.
Component: General → Activity Streams: Newtab
Product: Core → Firefox
Summary: Top Sites - Edit menu - Unpin item → Add automated test for "Top Sites - Edit menu - Unpin item"
Priority: -- → P3
Assignee: nobody → icrisan
The edit dialog was removed in bug 1432899, but unpinning can be done from the context menu.
(In reply to Ed Lee :Mardak from comment #1)
> The edit dialog was removed in bug 1432899, but unpinning can be done from
> the context menu.


Unpinning a top site from the context menu is covered in bug #1410880.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.