Skip to content

Commit

Permalink
put the interesting test first
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Jun 11, 2019
1 parent d507f52 commit 1b14a1b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ beforeEach ->

return null

it "normally finishes in less than 1000ms on localhost with connection: keep-alive", ->
it "normally finishes in less than 1000ms on localhost with connection: close", ->
Cypress._.times 100, ->
cy.visit('/keepalive')
cy.visit('/close')
.then ->
expect(@lastLog.get("totalTime")).to.be.lte(1000)

return undefined

it "normally finishes in less than 1000ms on localhost with connection: close", ->
it "normally finishes in less than 1000ms on localhost with connection: keep-alive", ->
Cypress._.times 100, ->
cy.visit('/close')
cy.visit('/keepalive')
.then ->
expect(@lastLog.get("totalTime")).to.be.lte(1000)

Expand Down

0 comments on commit 1b14a1b

Please sign in to comment.