-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: add new address #300
base: trunk
Are you sure you want to change the base?
Conversation
78537bd
to
87304c6
Compare
src/services/TestDataService.ts
Outdated
@@ -100,7 +100,7 @@ export class TestDataService { | |||
* | |||
* @private | |||
*/ | |||
private highPriorityEntities = ['order', 'product', 'landing_page', 'shipping_method', 'sales_channel_domain', 'sales_channel_currency', 'sales_channel_country', 'customer']; | |||
private highPriorityEntities = ['order', 'product', 'landing_page', 'shipping_method', 'sales_channel_domain', 'sales_channel_currency', 'sales_channel_country', 'customer', 'customer_address']; |
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'm having an issue cleaning up country data in after hook(409 conflict error), despite having added customer_address here.
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.
Somehow the address data is still in use when you try to delete it.
const task = (address: Address) => { | ||
return async function AddNewAddress() { | ||
|
||
await ShopCustomer.goesTo(StorefrontAccountAddresses.url()); |
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 would put that line (goesTo) into the test so that It is more transparent where you create the address.
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.
and we save execution time because the fixture ShopCustomer is large and takes much more time to generate compared to a simple page object.
66f07a3
to
4688f07
Compare
Platform PR: shopware/shopware#6589