Closed Bug 522271 Opened 16 years ago Closed 16 years ago

--browser-chrome Mochitests on Fennec [bookmark popup]

Categories

(Firefox for Android Graveyard :: Bookmarks, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file, 1 obsolete file)

We need to add tests to browser_bookmark_star.js for the bookmark popup: * Verify it appears (kinda have this already) * Verify it dismisses if click off of it * Verify it dismisses if click on star again * Verify it dismisses if timeout occurs (2seconds)
Attached patch patch (obsolete) — Splinter Review
This patch adds a test for the bookmark popup auto-hiding after 2 seconds. The tests already have checks for the popup appearing. It also: * fixes the tests for a bad todo * handles a button rename * increases robustness by using waitFor in more places (I was getting failures without it)
Assignee: nobody → mark.finkle
Attachment #406624 - Flags: review?(gavin.sharp)
Attachment #406624 - Flags: review?(gavin.sharp) → review+
Attached patch patch 2Splinter Review
Sorry for the review queue spam. This patch is the same as the first but adds the two remaining tests: * Verify it dismisses if click off of it * Verify it dismisses if click on star again all pass!
Attachment #406624 - Attachment is obsolete: true
Attachment #406628 - Flags: review?(gavin.sharp)
Attachment #406628 - Flags: review?(gavin.sharp) → review+
Comment on attachment 406628 [details] [diff] [review] patch 2 >diff --git a/chrome/tests/browser_bookmarks_star.js b/chrome/tests/browser_bookmarks_star.js >+ var handleEvent = function() { function handleEvent
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Component: General → Bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: