-
Notifications
You must be signed in to change notification settings - Fork 21
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
Consolidate accounts onboarding: Prevent Google Ads account setup from trying to connect to an unclaimed and disconnected account ID #2688
Conversation
…nectExistingAccountActions` within Google Ads Account setup components.
…is disconnected to avoid connecting to an invalid ID.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/2458-2459-2460-2509 #2688 +/- ##
================================================================
- Coverage 65.1% 62.3% -2.8%
================================================================
Files 812 335 -477
Lines 24577 5145 -19432
Branches 1253 1254 +1
================================================================
- Hits 15989 3204 -12785
+ Misses 8416 1769 -6647
Partials 172 172
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Currently on GitHub Actions, there seems to be some issues with the starting E2E test environment that prevent E2E testing from starting. |
This reverts commit ed1bc62.
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.
Thanks for the changes. I can confirm this is now running as expected.
In combination with the changes in #2690 I'm also able to run the E2E tests locally without any errors.
Changes proposed in this Pull Request:
While doing overall testing with #2682, found an issue that it may try to connect to an unclaimed and disconnected account ID. The test instructions below show the reproduction steps.
Kapture.2024-11-22.at.15.54.37.mp4
It turns out that the account ID used to call API is not the same as the one selected on UI, and it's an unclaimed and disconnected account.
Kapture.2024-11-22.at.15.56.38.mp4
This PR fixes it by resetting the account ID after disconnecting.
google-listings-and-ads/js/src/components/google-combo-account-card/connect-ads/connect-existing-account.js
Lines 75 to 84 in a686290
Screenshots:
Kapture.2024-11-22.at.18.14.04.mp4
Detailed test instructions: