-
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.
* Migrated warehouses tests: Edit warehouse; Delete warehouse * Migrated categories tests: Create basic category; Edit category;Bulk delete categories * Migrated warehouses tests: Edit warehouse; Delete warehouse (#4593) * Migrated warehouses tests: Edit warehouse; Delete warehouse * Update nervous-flowers-hear.md * Update nervous-flowers-hear.md * Use composites in pr automation workflow (#4597) * Use composites * Use composites * Use composites * Use composites * Use composites * changed shipping metod id in shippings tests * maintenance * add console log to goto details page actions * Trigger Build * Create ten-feet-roll.md --------- Co-authored-by: Patryk Andrzejewski <[email protected]>
- Loading branch information
1 parent
a077f1c
commit d43a3c9
Showing
50 changed files
with
458 additions
and
603 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,8 @@ | ||
--- | ||
"saleor-dashboard": minor | ||
--- | ||
|
||
Maintenance e2e tests: | ||
- Class unification - selector initiation moved to constructors | ||
- Adding navigation logs to specific products, channels, etc | ||
- Improved imports: using aliases in all files |
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import type { Locator, Page } from "@playwright/test"; | ||
import type { Page } from "@playwright/test"; | ||
|
||
export class AppsPage { | ||
readonly page: Page; | ||
readonly installExternalAppButton: Locator; | ||
readonly appsLogosList: Locator; | ||
|
||
constructor(page: Page) { | ||
constructor( | ||
page: Page, | ||
readonly installExternalAppButton = page.getByTestId( | ||
"add-app-from-manifest", | ||
), | ||
readonly appsLogosList = page.getByTestId("app-logo"), | ||
) { | ||
this.page = page; | ||
this.installExternalAppButton = page.getByTestId("add-app-from-manifest"); | ||
this.appsLogosList = page.getByTestId("app-logo"); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import type { Locator, Page } from "@playwright/test"; | ||
import type { Page } from "@playwright/test"; | ||
|
||
export class CollectionsPage { | ||
readonly page: Page; | ||
readonly createCollectionButton: Locator; | ||
|
||
constructor(page: Page) { | ||
constructor( | ||
page: Page, | ||
readonly createCollectionButton = page.getByTestId("create-collection"), | ||
) { | ||
this.page = page; | ||
this.createCollectionButton = page.getByTestId("create-collection"); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import type { Locator, Page } from "@playwright/test"; | ||
import type { Page } from "@playwright/test"; | ||
|
||
export class ContentPage { | ||
readonly page: Page; | ||
readonly createContentButton: Locator; | ||
|
||
constructor(page: Page) { | ||
constructor( | ||
page: Page, | ||
readonly createContentButton = page.getByTestId("create-page"), | ||
) { | ||
this.page = page; | ||
this.createContentButton = page.getByTestId("create-page"); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import type { Locator, Page } from "@playwright/test"; | ||
import type { Page } from "@playwright/test"; | ||
|
||
export class CustomersPage { | ||
readonly page: Page; | ||
readonly createCustomerButton: Locator; | ||
|
||
constructor(page: Page) { | ||
constructor( | ||
page: Page, | ||
readonly createCustomerButton = page.getByTestId("create-customer"), | ||
) { | ||
this.page = page; | ||
this.createCustomerButton = page.getByTestId("create-customer"); | ||
} | ||
} |
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
Oops, something went wrong.