Skip to content

Commit

Permalink
Skip meta tests on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
robdodson committed Jun 7, 2019
1 parent c82e088 commit 8990d06
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/specs/meta-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ const expect = require('expect');
const driver = global.__driver;

describe('meta keys', function() {
before(function() {
// Skip these tests in Edge and IE because it's unclear how to get focus
// back to the page when pressing the Windows meta key without clicking
// on the page which would sort of negate the test.
if (
process.env.TEST_BROWSER.includes('Edge') ||
process.env.TEST_BROWSER.includes('Internet Explorer')
) {
this.skip();
}
});

beforeEach(function() {
return fixture('button.html');
});
Expand Down

0 comments on commit 8990d06

Please sign in to comment.