Skip to content

Commit

Permalink
More SauceLabs flake fixes (#5943)
Browse files Browse the repository at this point in the history
  • Loading branch information
aghassemi committed Nov 1, 2016
1 parent 401c180 commit 51bcf89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/integration/test-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ import {
expectBodyToBecomeVisible,
} from '../../testing/iframe.js';

describe.configure().retryOnSaucelabs().run('error page', () => {
describe.configure().retryOnSaucelabs().run('error page', function() {
this.timeout(5000);
let fixture;
beforeEach(() => {
return createFixtureIframe('test/fixtures/errors.html', 500, win => {
return createFixtureIframe('test/fixtures/errors.html', 1000, win => {
// Trigger dev mode.
try {
win.history.pushState({}, '', 'test2.html#development=1');
Expand Down
3 changes: 2 additions & 1 deletion test/integration/test-video-players-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ import {
export function runVideoPlayerIntegrationTests(createVideoElementFunc) {

const TIMEOUT = 20000;
it('should override the video interface methods', function() {
it.configure().retryOnSaucelabs()
.run('should override the video interface methods', function() {
this.timeout(TIMEOUT);
return getVideoPlayer(/* opt_outsideView */ false)
.then(v => {
Expand Down

0 comments on commit 51bcf89

Please sign in to comment.