Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run a Espresso test with this action #8

Open
dinisnunes1 opened this issue Jan 17, 2021 · 1 comment
Open

How to run a Espresso test with this action #8

dinisnunes1 opened this issue Jan 17, 2021 · 1 comment

Comments

@dinisnunes1
Copy link

Could this actions upload and start an android native test using Espresso?

@shawnlobo96
Copy link

@dinisnunes1 If you follow the steps on https://www.browserstack.com/docs/automate/selenium/github-actions,

The setup for GitHub actions remains the same till step 2.

Step 3 onwards is where the documentation is specific to Selenium/Appium testing.

You should be able to upload the app and start a test using the action. You'll need to add in the steps (curl commands) to upload the app and execute the test.

Unlike Selenium/Appium tests, for Espresso, the App and test APK are uploaded to Browserstack and the test is executed on Browserstack without the need of a client (Selenium/Appium test script).

Using GitHub Actions may not be very useful for Espresso tests IMO since you'll need to also build a polling script to keep checking the status of the build on Browserstack and only once the build completes execution, teardown the local tunnel.

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

No branches or pull requests

2 participants