Skip to content

fix: cleanup for DefaultSalesChannel fixture#658

Draft
ravenokko wants to merge 12 commits into
trunkfrom
codex/add-default-sales-channel-cleanup
Draft

fix: cleanup for DefaultSalesChannel fixture#658
ravenokko wants to merge 12 commits into
trunkfrom
codex/add-default-sales-channel-cleanup

Conversation

@ravenokko

@ravenokko ravenokko commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Currently, the DefaultSalesChannel fixture isn't cleaned up, which is why our SaaS instances always contain sales channels/customer groups named "X acceptance test" and at least 1 customer named X Admin X Admin. This adds the functionality to delete the data created by the DefaultSalesChannel fixture.

Note: Fixtures with { scope: worker } are automatically setup (when needed) before tests are run, with cleanup functionality after the await use() function, when the worker is set to be deleted.
Source: https://playwright.dev/docs/test-fixtures#execution-order

@ravenokko ravenokko self-assigned this Jul 9, 2026
@ravenokko ravenokko requested a review from a team as a code owner July 9, 2026 15:33
@pkg-pr-new

pkg-pr-new Bot commented Jul 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/shopware/acceptance-test-suite/@shopware-ag/acceptance-test-suite@658

commit: 3bc1ad6

@ravenokko ravenokko marked this pull request as draft July 9, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant