-
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
Onboarding: Create new ads account. #2651
Onboarding: Create new ads account. #2651
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/2509-consolidate-google-account-cards #2651 +/- ##
=============================================================================
Coverage 62.7% 62.7%
=============================================================================
Files 326 326
Lines 5166 5166
Branches 1266 1266
=============================================================================
Hits 3239 3239
Misses 1751 1751
Partials 176 176
Flags with carried forward coverage won't be shown. Click here to find out more.
|
js/src/components/google-combo-account-card/connect-ads/confirm-create-modal.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/confirm-create-modal.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/confirm-create-modal.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-ads-footer.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/useCreateAccountActions.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
@joemcgill Can you kindly review the changes I made to the PR in the following commit please: Thanks! |
…ate/2603-create-ads-account
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-ads-footer.js
Outdated
Show resolved
Hide resolved
Found and made a couple small corrections and this is ready for another review. |
QA/Test Report- ✅Test Results - The Google Ads new account creation flow, account claiming, new account connection, and onboarding flow when using a new account are working as described in the requirements, and all tests have passed. Quick Demo: Recording.946.mp4 |
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.
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
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.
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 actually made the commit originally in this PR, since testing all of the claim functionality properly was better when I could create a new account from the same UI, but I agree that functionally it fit more in the PR for the Claim functionality, so I cherry-picked this commit there. Given that the other will be merged first, it should be fine to leave this as is and resolve any merge conflicts after #2644 is merged.
js/src/components/google-combo-account-card/connect-ads/connect-ads-footer.js
Outdated
Show resolved
Hide resolved
js/src/components/google-combo-account-card/connect-ads/connect-existing-account.js
Outdated
Show resolved
Hide resolved
Co-authored-by: Eason <[email protected]>
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.
Just marking this as needing changes until after #2644 is finalized and merged.
js/src/components/google-combo-account-card/connect-ads/connect-ads.js
Outdated
Show resolved
Hide resolved
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've updated this to resolve conflicts after #2644 was merged.
I then checked the relevant E2E tests in tests/e2e/specs/setup-mc/step-1-accounts.test.js
and noticed that the existing tests are broken in the target branch due to the way mocks were being handled. I've fixed this test in f2aa1c9 to confirm those tests are once again passing once this is merged.
Additional improvements to the changed E2E test can be handled in a follow-up PR.
14c080e
into
feature/2509-consolidate-google-account-cards
Changes proposed in this Pull Request:
Closes #2603
Replace this with a good description of your changes & reasoning.
Screenshots:
Detailed test instructions.
Note: As this PR also depends on claim card which is being handled in #2582, an integration branch is created to test this feature.
Checkout to the integration branch and build. Make sure you are disconnected from all Google accounts.
Connect to the Google account with existing Google ads accounts so that the existing ads account is shown.
Click on "Or, create a new Google Ads account" link. It should show you the modal.
Ensure that clicking on "Cancel" button does nothing.
Clicking on "Yes, I want a new account" should create a new account. While creating the new account, you shall see the text "Creating new ads account" in place of existing ads account card.
Once the account is created successfully, existing ads account card will disappear and claim card will be shown.
Once the ads account is claimed, you shall see the notice
Google Ads conversion measurement has been set up for your store.
in green color.Existing ads account card will again be shown with the
Connected
label and the newly created ads account ID in dropdown.Additional details:
Changelog entry