-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual order transaction refund (#4774)
* Order manual transaction view init * Connect RHF * Add sending mutation * Refactor, add intl, fix form validation * extract messages * Add changeset * Refactor transactions tiles * Improve loading and disable state, fix radio group control * Hadle no transactions * Write tests * extract messages * Refactor fragments * Move mutation to form component * Fix test
- Loading branch information
Showing
31 changed files
with
928 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"saleor-dashboard": minor | ||
--- | ||
|
||
Introduce view for manual refund transaction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,7 @@ export class ProductCreateDialog { | |
async selectProductTypeWithVariants(productType: string = "Beer") { | ||
await this.dialogProductTypeInput.fill(productType); | ||
await this.promptedOptions.filter({ hasText: productType }).first().click(); | ||
await this.promptedOptions.waitFor({ state: "hidden", timeout: 30000}); | ||
await this.confirmButton.waitFor({ state: "visible", timeout: 30000}); | ||
await this.confirmButton.waitFor({ state: "visible", timeout: 30000 }); | ||
} | ||
async clickConfirmButton() { | ||
await this.confirmButton.click(); | ||
Check failure on line 25 in playwright/pages/dialogs/productCreateDialog.ts GitHub Actions / run-tests (2/2)[chromium] › product.spec.ts:23:5 › TC: SALEOR_3 Create basic product with variants @e2e @product
Check failure on line 25 in playwright/pages/dialogs/productCreateDialog.ts GitHub Actions / run-tests (2/2)[chromium] › product.spec.ts:23:5 › TC: SALEOR_3 Create basic product with variants @e2e @product
Check failure on line 25 in playwright/pages/dialogs/productCreateDialog.ts GitHub Actions / run-tests (2/2)[chromium] › product.spec.ts:23:5 › TC: SALEOR_3 Create basic product with variants @e2e @product
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.