Skip to content

Fixing tests#395

Merged
0nko merged 4 commits intodevelopfrom
feature/run-ui-tests-with-travis
Jul 11, 2017
Merged

Fixing tests#395
0nko merged 4 commits intodevelopfrom
feature/run-ui-tests-with-travis

Conversation

@khaykov
Copy link
Copy Markdown
Contributor

@khaykov khaykov commented Jun 27, 2017

This branch is called "feature/run_ui_tests_with_travis", but after playing for a couple of days with UI tests on remote servers I wasn't able to find a way to run them consistently.

Emulators on Travis are just too slow, so it's almost impossible to perform any UI actions and confirm their result on time.
Firebase Cloud Testing is better, but because we can't control emulators and tweak long click duration with animation, tests just fail randomly.

For now, I'm just going to push fixed test (they got broken after a couple of recent changes), and encourage everyone to run them before submitting a PR. Espresso is still under development, so there is a good chance that this will change for better.

khaykov added 4 commits July 3, 2017 16:18
Squashed commits:
[2c0a9d3] Reverted tests changes.
[f77ead8] Revered travis config.
[7fa499c] Playing with delay.
[e5b4b72] Increasing long tap delay and removing better click.
[038f52f] Increased long press delay.
[276582e] Waiting for view.
[964e5f1] Try again.
[d604de8] Trying different ways.
[08605a5] typo
[6c5f2af] Changed device.
[8fee5fd] more fixes
[302da9d] Different approach.
[3a0ebee] More fixing.
[92bebc4] More testing.
[679840e] More testing.
[da05070] Unlock screen.
[a1afe6c] new parameters
[20a3933] testing more
[d753147] testing
[68aeae2] fixing stuff
[82021dc] Removed screen unlock and updated config.
[7f7ce49] api 21
[cfc4e48] More stuff
[fca00b1] Trying some more things.
[05789a6] More trying.
[27cd535] more parameters
[745bfd7] Trying again.
[4dbb273] Trying some other options.
[04a8c2f] Testing other options.
[3db30ef] Trying with different parameters
[bddedf6] Trying with api 19
@khaykov khaykov force-pushed the feature/run-ui-tests-with-travis branch from 553760c to 07c5961 Compare July 3, 2017 07:55
@0nko
Copy link
Copy Markdown
Contributor

0nko commented Jul 11, 2017

:shipit:

@0nko 0nko self-assigned this Jul 11, 2017
@0nko 0nko merged commit c9b96b9 into develop Jul 11, 2017
@0nko 0nko deleted the feature/run-ui-tests-with-travis branch July 11, 2017 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants