Skip to content

Commit

Permalink
fix firefox flake: navigation_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kuceb committed Jun 4, 2020
1 parent a8b3271 commit bd4e943
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ describe('src/cy/commands/navigation', () => {
cy.reload(Infinity)
})

it('throws passing more than 2 args', (done) => {
it('throws passing more than 2 args', {
defaultCommandTimeout: 1000,
}, (done) => {
cy.on('fail', (err) => {
expect(err.message).to.eq('`cy.reload()` can only accept a boolean or `options` as its arguments.')
expect(err.docsUrl).to.eq('https://on.cypress.io/reload')
Expand Down

0 comments on commit bd4e943

Please sign in to comment.