-
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.
- Loading branch information
Showing
11 changed files
with
22 additions
and
19 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": patch | ||
--- | ||
|
||
You can now run e2e tests without flakiness |
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
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
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
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 |
---|---|---|
|
@@ -18,7 +18,6 @@ test("TC: SALEOR_187 As an admin user I can create page type @e2e @page-type", a | |
await pageTypePage.expectSuccessBanner(); | ||
await expect(pageTypePage.nameInput).toHaveValue(pageTypeName); | ||
await pageTypePage.gotoPageTypeListPage(); | ||
await expect(pageTypePage.pageTypeList).toBeVisible({timeout:60000}); | ||
await expect(pageTypePage.pageTypeList).toContainText(pageTypeName); | ||
Check failure on line 21 in playwright/tests/pageTypes.spec.ts GitHub Actions / run-tests-on-release / run-pw-tests (2/2)[chromium] › pageTypes.spec.ts:9:5 › TC: SALEOR_187 As an admin user I can create page type @e2e @page-type
|
||
}); | ||
|
||
|
@@ -52,7 +51,7 @@ test("TC: SALEOR_189 As an admin user I can delete page type with assigned conte | |
await pageTypePage.deletePageTypeDialog.waitForDOMToFullyLoad(); | ||
await pageTypePage.clickConfirmRemovalButton(); | ||
await pageTypePage.expectSuccessBanner(); | ||
await pageTypePage.gotoPageTypeListPage(); | ||
await pageTypePage.gotoPageTypeListPage(); | ||
await expect(pageTypePage.pageTypeList).not.toContainText(pageType.name); | ||
}); | ||
|
||
|
@@ -65,6 +64,7 @@ test("TC: SALEOR_190 As an admin user I can delete several page types@e2e @page- | |
const pageTypeNames = PAGE_TYPES.pageTypesToBeBulkDeleted.names; | ||
|
||
await pageTypePage.gotoPageTypeListPage(); | ||
await expect(pageTypePage.pageTypeList).toBeVisible(); | ||
Check failure on line 67 in playwright/tests/pageTypes.spec.ts GitHub Actions / run-tests-on-release / run-pw-tests (2/2)[chromium] › pageTypes.spec.ts:58:5 › TC: SALEOR_190 As an admin user I can delete several page types@e2e @page-type
|
||
await pageTypePage.checkPageTypesOnList(rowsToBeDeleted); | ||
await pageTypePage.clickBulkDeleteButton(); | ||
await pageTypePage.deletePageTypeDialog.waitForDOMToFullyLoad(); | ||
|
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
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