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

Browserstack CI updates and Google Pay test flow #935

Closed
wants to merge 22 commits into from

Conversation

atavism
Copy link
Contributor

@atavism atavism commented Oct 18, 2023

This PR simplifies CI to no longer build the APK twice. The APK generated by the release workflow is uploaded to Browserstack, speeding up the time it takes to run tests.

A release app bundle is also uploaded to Browserstack that is used for the Google Play tests

@atavism atavism marked this pull request as draft October 18, 2023 12:17
@jigar-f
Copy link
Contributor

jigar-f commented Oct 18, 2023

@atavism AFAIK release build does not support appium test. Appium test works with debug and profile build.

@atavism
Copy link
Contributor Author

atavism commented Oct 19, 2023

Thanks, @jigar-f. I've read Appium is supposed to work with release builds, and I'm able to run the tests locally with one until I get the following error:

    [debug] [FlutterDriver] No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium-userland/appium-flutter-driver#usage and that it does not crash on startup. IDLE

I guess this is because, unless it's a debug build, the locator values in the scripts are protected, and that's why we are getting this observatory URL error?

@jigar-f
Copy link
Contributor

jigar-f commented Oct 19, 2023

Thanks, @jigar-f. I've read Appium is supposed to work with release builds, and I'm able to run the tests locally with one until I get the following error:

    [debug] [FlutterDriver] No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium-userland/appium-flutter-driver#usage and that it does not crash on startup. IDLE

I guess this is because, unless it's a debug build, the locator values in the scripts are protected, and that's why we are getting this observatory URL error?

Also, We need to make sure that we create appium flavor build to by pass ads

@atavism atavism closed this Feb 27, 2024
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