Skip to content

Commit

Permalink
Restore tests now that they pass on Nightly. (mozilla-services#4240)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenba committed Mar 27, 2018
1 parent 2dc5949 commit afd7e27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit afd7e27

Please sign in to comment.