Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Integration test improvements (#453)
Browse files Browse the repository at this point in the history
* End the app if an error occurs

* Fixing a proper reset of the tests folder

* Made tests cancelable through Ctrl+C

* Updated tap dependency

* Using shebang to make sure the correct executable is called.

* Proper tape tests need to be ended.

* Making use of resolveMatch for shorter, better readable tests

* Using waitForAndClick to get cleaner, quicker tests that don’t fail.

* Extracted wait into until

* The Default wait period is too long in those cases

* Using waitForExist for quicker results.

* Used shebang for tests/index

* Using tap for all tests.

* Using waitForMatch to quicker find out if a match exist and don’t fail the test if the text happens to show something different in-between (like the loading bytes)

* shebang error on windows

* Better error logs on windows tests

* Updated spectron
  • Loading branch information
martinheidegger authored and juliangruber committed Jan 30, 2018
1 parent 6ff3ad0 commit d8ef48a
Show file tree
Hide file tree
Showing 9 changed files with 231 additions and 323 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
environment:
ELECTRON_ENABLE_STACK_DUMPING: 'true'
DEBUG: '*,-nugget*,-eslint*,-extract-zip*,-sumchecker*,-electron-download*,-dependency-check*'
matrix:
- nodejs_version: "8"

Expand Down
Loading

0 comments on commit d8ef48a

Please sign in to comment.