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

UI Integration tests fail on Travis CI #26

Open
carltonwhitehead opened this issue Sep 22, 2018 · 1 comment
Open

UI Integration tests fail on Travis CI #26

carltonwhitehead opened this issue Sep 22, 2018 · 1 comment

Comments

@carltonwhitehead
Copy link
Contributor

TestFX silently fails to click buttons, causing UI integration tests to fail.

@carltonwhitehead
Copy link
Contributor Author

carltonwhitehead commented Sep 22, 2018

Noting some observations from first trying to troubleshoot this issue.

  • Integration tests pass locally on my laptop, as-is
  • Integration tests, if moved into unit test source set and renamed such that Surefire will run them during test instead of Failsafe running them during integrationTest, pass on Travis CI (this is not an acceptable solution because unit tests and integration tests should be separate)
  • Integration tests fail on Travis CI whether the TestFX environment is configured for headless or headed

carltonwhitehead added a commit that referenced this issue Oct 13, 2018
* Initial transition to home screen

* Add Events and Seasons screens to Home screen and animate entry

* Stub string resource bundles for events and seasons

* Initial HomeViewTest and HomePage

* Move WorkerAppTest to integration test

* Integration test connecting with Easy Mode and navigating to Home

* Add some temporary logging for diagnosing the problem with  WorkerAppIT on Travis

* Raise the timeout

* Add some logging around use easy mode button

* Add sanity check assertions to use easy mode integration test

* Lazy init easy mode connection page properties

* Make the use easy mode button more unique

* Log statements in the easy mode connection page

* Fix the implicit return in lazy init use button

* Run WorkerAppTest as a surefire unit test instead

* Wait for the OK button

* Main screen forces easy mode closed on undock

* Try using headed Linux instead of headless

* Move the WorkerApp integration test back to its source set

* Upgrade failsafe plugin

* Force Travis to run tests without forking

* Don't run integration tests on Travis CI, see #26 

* Fix travis syntax

* Remove println calls used for debugging
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant