Bug 1412761 - remove dup test case;r=fischer
MozReview-Commit-ID: 9MLGQI3SiIf
--- a/browser/extensions/onboarding/test/browser/browser_onboarding_uitour.js
+++ b/browser/extensions/onboarding/test/browser/browser_onboarding_uitour.js
@@ -41,31 +41,16 @@ add_task(async function test_clean_up_ui
// Close the overlay by clicking the overlay
let highlightClosePromise = promisePopupChange(highlight, "closed");
BrowserTestUtils.synthesizeMouseAtPoint(2, 2, {}, tab.linkedBrowser);
await promiseOnboardingOverlayClosed(tab.linkedBrowser);
await highlightClosePromise;
is(highlight.state, "closed", "Should close UITour highlight after closing the overlay by clicking the overlay");
- // Trigger UITour showHighlight
- highlightOpenPromise = promisePopupChange(highlight, "open");
- await triggerUITourHighlight("library", tab);
- await highlightOpenPromise;
- is(highlight.state, "open", "Should show UITour highlight");
- is(highlight.getAttribute("targetName"), "library", "UITour should highlight library");
-
- // Close the overlay by clicking the overlay
- // Should not click the close button here since the close button is hovered by appmenu and can't be clicked on win7
- highlightClosePromise = promisePopupChange(highlight, "closed");
- BrowserTestUtils.synthesizeMouseAtPoint(2, 2, {}, tab.linkedBrowser);
- await promiseOnboardingOverlayClosed(tab.linkedBrowser);
- await highlightClosePromise;
- is(highlight.state, "closed", "Should close UITour highlight after closing the overlay by clicking the overlay");
-
// Trigger UITour showHighlight again
highlightOpenPromise = promisePopupChange(highlight, "open");
await triggerUITourHighlight("library", tab);
await highlightOpenPromise;
is(highlight.state, "open", "Should show UITour highlight");
is(highlight.getAttribute("targetName"), "library", "UITour should highlight library");
// Close the overlay by clicking the skip-tour button