posix4e / puppet

MIT License
8 stars 8 forks source link

Add E2E test for puppet android app #27

Closed vkolgi closed 1 year ago

vkolgi commented 1 year ago

Adds github action workflow to run tests against trigger. Adds test case to run tests against sauce labs. Adds necessary boilerplate code to setup test execution.

posix4e commented 1 year ago

@vkola

vkolgi commented 1 year ago

Agree with the explicit sleeps. They are specifically used in the context where we come back from the android settings page to the app. Sane approach is to bring forward the Chatter activity, than pressing back button twice. However, activity to foreground didn't work for Real android device in Saucelabs but worked for the emulator on my local machine. So had to resort to this. With some checks in place, we should be able to avoid those explicit sleeps.

posix4e commented 1 year ago

Got it