Skip to content

Commit

Permalink
fix skipped test in screenshot_spec (cypress-io#4900)
Browse files Browse the repository at this point in the history
* fix skipped test in screenshot_spec

* move to .finally
  • Loading branch information
kuceb authored and grabartley committed Oct 6, 2019
1 parent c4920a6 commit 30d51de
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ describe "src/cy/commands/screenshot", ->
.then ->
expect(Cypress.action).not.to.be.calledWith("cy:test:set:state")
expect(Cypress.automation).not.to.be.called
.finally ->
Cypress.config("isTextTerminal", true)

it "is noop when no test.err", ->
Cypress.config("isInteractive", false)
Expand Down

0 comments on commit 30d51de

Please sign in to comment.