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

Blocks E2E: Remove the DB snapshot on env reset #47416

Merged
merged 2 commits into from
May 13, 2024

Conversation

WunderBart
Copy link
Contributor

What

After merging #46409, I realized that the env reset (pnpm env:reset) does not remove the DB snapshot, which might cause env conflicts when rerunning multiple times locally. This PR fixes that.

How to test

Ensure the DB snapshot is removed after calling pnpm env:restart. You'll need to run some tests first so that the snapshot is created.

@WunderBart WunderBart requested a review from gigitux May 13, 2024 14:27
@WunderBart WunderBart self-assigned this May 13, 2024
@WunderBart WunderBart force-pushed the fix/remove-e2e-db-snapshot-on-env-reset branch from 3d7f0e8 to a3f5922 Compare May 13, 2024 14:28
@woocommercebot woocommercebot requested a review from a team May 13, 2024 14:32
Copy link
Contributor

@gigitux gigitux left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Copy link
Contributor

github-actions bot commented May 13, 2024

Hi @gigitux, @woocommerce/woo-fse

Apart from reviewing the code changes, please make sure to review the testing instructions as well.

You can follow this guide to find out what good testing instructions should look like:
https://github.com/woocommerce/woocommerce/wiki/Writing-high-quality-testing-instructions

@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label May 13, 2024
@WunderBart WunderBart merged commit 9a71f3a into trunk May 13, 2024
27 checks passed
@WunderBart WunderBart deleted the fix/remove-e2e-db-snapshot-on-env-reset branch May 13, 2024 15:19
@github-actions github-actions bot added this to the 9.0.0 milestone May 13, 2024
@github-actions github-actions bot added the needs: analysis Indicates if the PR requires a PR testing scrub session. label May 13, 2024
@nigeljamesstevenson nigeljamesstevenson added status: analysis complete Indicates if a PR has been analysed by Solaris and removed needs: analysis Indicates if the PR requires a PR testing scrub session. labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: woocommerce Issues related to the WooCommerce Core plugin. status: analysis complete Indicates if a PR has been analysed by Solaris
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants