From afd7e27c6302eb25037175acb498fa404cee5daf Mon Sep 17 00:00:00 2001 From: Barry Chen Date: Tue, 27 Mar 2018 10:27:26 -0500 Subject: [PATCH] Restore tests now that they pass on Nightly. (#4240) --- test/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.js b/test/test.js index 121c427f72..658aed1ebe 100644 --- a/test/test.js +++ b/test/test.js @@ -281,7 +281,7 @@ describe("Test Screenshots", function() { }); // Temporarily disabled. See https://github.com/mozilla-services/screenshots/issues/4240 - xit("should take an auto selection shot", function(done) { + it("should take an auto selection shot", function(done) { startAutoSelectionShot(driver).then(() => { return driver.wait(until.elementLocated(By.css(".highlight-button-save"))); }).then((saveButton) => { @@ -336,7 +336,7 @@ describe("Test Screenshots", function() { }); // Temporarily disabled. See https://github.com/mozilla-services/screenshots/issues/4240 - xit("should download a shot", function(done) { + it("should download a shot", function(done) { const startingFileCount = fs.readdirSync(downloadDir).length; const filenameRegex = /^Screenshot.+ Firefox Screenshots\.png$/; let files; @@ -374,7 +374,7 @@ describe("Test Screenshots", function() { }); // Temporarily disabled. See https://github.com/mozilla-services/screenshots/issues/4240 - xit("should remain on original tab with UI overlay on save failure", function(done) { + it("should remain on original tab with UI overlay on save failure", function(done) { const badAddon = path.join(process.cwd(), "build", "screenshots-bootstrap-server-down.zip"); driver.installAddon(badAddon) .then(() => startAutoSelectionShot(driver))