-
Notifications
You must be signed in to change notification settings - Fork 226
Ensure the CI is marked as failed when Maestro test is failing #4700
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
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4700 +/- ##
========================================
Coverage 80.11% 80.11%
========================================
Files 2126 2126
Lines 56303 56303
Branches 7021 7021
========================================
Hits 45107 45107
Misses 8780 8780
Partials 2416 2416 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -53,7 +53,7 @@ fun Activity.openUrlInChromeCustomTab( | |||
// Disable download button | |||
intent.putExtra("org.chromium.chrome.browser.customtabs.EXTRA_DISABLE_DOWNLOAD_BUTTON", true) | |||
// Disable bookmark button | |||
intent.putExtra("org.chromium.chrome.browser.customtabs.EXTRA_DISABLE_START_BUTTON", true) | |||
intent.putExtra("org.chromium.chrome.browser.customtabs.EXTRA_DISABLE_STAR_BUTTON", true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With d400644 the emulator is stuck on: ![]() Reverting this commit. |
This reverts commit d400644.
@jmartinesp I think we can (review and) merge this PR and let the action I'll try in another PR to use our action runner to see if it's working better. WDYT? |
Since Maestro is already broken I don't see any harm on merging this: even if it doesn't solve the problem with the webview in the CI, it's a good first step. If you think it's ready to review I can take a look 👍 . |
I was trying to test this locally and it failed at some random point (probably a fluke) but when I restarted the flow the browser still had the MAS credentials so the 'enter credentials' sub-flow was no longer working. I think we may want to either take that into account with another |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to complete the flow locally, so I only have a couple of suggestions. Thanks!
@@ -7,22 +7,17 @@ appId: ${MAESTRO_APP_ID} | |||
- runFlow: ../assertions/assertLoginDisplayed.yaml | |||
- tapOn: | |||
id: "login-continue" | |||
## MAS page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe add some comments here to remind us this is not working at the moment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -8,6 +8,11 @@ appId: ${MAESTRO_APP_ID} | |||
- tapOn: | |||
id: "login-continue" | |||
## MAS page | |||
- runFlow: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment to specify this is a workaround for Chrome's onboarding screen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also faced this problem. You need to sign out (manually) on the MAS page during the flow. This is not ideal, but should be OK on the CI with a flushed emulator... |
|
Content
Motivation and context
Fix Maestro, add more test, and secure releases
Screenshots / GIFs
Tests
Tested devices
Checklist