Skip to content

Conversation

@chihsuan
Copy link
Member

@chihsuan chihsuan commented Jun 9, 2022

All Submissions:

Changes proposed in this Pull Request:

Closes #33172.

This PR fixes the issue that clicking on the "No thanks" button shouldn't have the loading state on "Yes, count me in!" button.

Before
Screen Shot 2022-06-09 at 11 39 41

After
Screen Shot 2022-06-09 at 11 38 00

How to test the changes in this Pull Request:

  1. Use a fresh site
  2. Go to OBW
  3. Skip setup wizard
  4. Click the first button No thanks
  5. Observe that only No thanks button is loading and "Yes, count me in!" button is disabled.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully run tests with your changes locally?
  • Have you created a changelog file for each project being changed, ie pnpm nx changelog <project>?

FOR PR REVIEWER ONLY:

  • I have reviewed that everything is sanitized/escaped appropriately for any SQL or XSS injection possibilities. I made sure Linting is not ignored or disabled.

@github-actions github-actions bot added focus: react admin package: @woocommerce/e2e-utils Issues related to @woocommerce/e2e-utils package. plugin: woocommerce Issues related to the WooCommerce Core plugin. labels Jun 9, 2022
@chihsuan chihsuan self-assigned this Jun 9, 2022
@chihsuan chihsuan marked this pull request as ready for review June 9, 2022 03:40
@botwoo
Copy link
Collaborator

botwoo commented Jun 9, 2022

📊 Test reports for this pull request have been published and are accessible through the following links:

Latest commit referenced in the reports: Add e2e tests for usage button loading state 3d70dd2
This comment will automatically be updated with the latest referenced commit when you push new changes to this pull request.


Visit the WooCommerce Test Reports homepage to view all published reports. See the FAQs page if you're having problems accessing them.

@chihsuan chihsuan requested a review from a team June 9, 2022 05:08
Copy link
Contributor

@ilyasfoo ilyasfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested well, LGTM! 🚢

@chihsuan chihsuan merged commit a3d42be into trunk Jun 9, 2022
@chihsuan chihsuan deleted the fix/33172-setup-wizard-click-button-loading-state branch June 9, 2022 09:30
@github-actions github-actions bot added this to the 6.7.0 milestone Jun 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2022

Hi @chihsuan, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:

  • Add the release: add testing instructions label

@chihsuan chihsuan added the release: add testing instructions PRs that have not had testing instructions added to the wiki. [auto] label Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: @woocommerce/e2e-utils Issues related to @woocommerce/e2e-utils package. plugin: woocommerce Issues related to the WooCommerce Core plugin. release: add testing instructions PRs that have not had testing instructions added to the wiki. [auto]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

On setup wizard auto click second button

4 participants