Skip to content

Commit

Permalink
[js] Remove misleading test that trivially passes because it depends …
Browse files Browse the repository at this point in the history
…on a

property that no longer exists.

Fixes #1827
  • Loading branch information
jleyba committed Jun 28, 2016
1 parent 22cbc24 commit 0c04c7e
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions javascript/node/selenium-webdriver/test/firefox/firefox_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,38 +124,6 @@ test.suite(function(env) {
}
});

describe('profile management', function() {
var driver;

test.beforeEach(function() {
driver = null;
});

test.afterEach(function() {
if (driver) {
driver.quit();
}
});

test.ignore(env.isRemote).
it('deletes the temp profile on quit', function() {
driver = env.builder().build();

var profilePath = driver.call(function() {
var path = driver.profilePath_;
assert(io.exists(path)).isTrue();
return path;
});

return driver.quit().then(function() {
driver = null;
return profilePath;
}).then(function(path) {
assert(io.exists(path)).isFalse();
});
});
});

describe('binary management', function() {
var driver1, driver2;

Expand Down

0 comments on commit 0c04c7e

Please sign in to comment.