Skip to content

Commit

Permalink
replace app
Browse files Browse the repository at this point in the history
  • Loading branch information
szczecha committed Apr 10, 2024
1 parent e2e5c71 commit d72f2a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-stingrays-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": minor
---

Use dummy app in delete app test
3 changes: 2 additions & 1 deletion playwright/pages/appsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ export class AppsPage extends BasePage {
readonly availableAppsList = page.getByTestId("apps-available"),
readonly upcomingAppsList = page.getByTestId("apps-upcoming"),

readonly appManifestUrlInput = page
readonly appManifestUrlInput = page
.getByTestId("manifest-url-input")
.locator("input"),
readonly installAppFromManifestButton = page.getByTestId("install-app-from-manifest"),
readonly installedAppRow = page.getByTestId("apps:installed-app-row"),
readonly appKlaviyo = page.getByTestId("app-klaviyo"),
readonly appAdyen = page.getByTestId("app-adyen"),
readonly appQA = page.getByTestId("app-saleorqa app"),
readonly installationPendingLabel = page.getByTestId("app-pending-label").first(),
) {
super(page);
Expand Down
2 changes: 1 addition & 1 deletion playwright/tests/apps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test.skip("TC: SALEOR_119 User should be able to install and configure app from
test("TC: SALEOR_120 User should be able to delete thirdparty app @e2e", async () => {
await appPage.goToExistingAppPage(APPS.appToBeDeleted.id);
await appPage.pageHeader.waitFor({ state: "visible", timeout: 10000 });
await expect(appPage.pageHeader).toContainText("Adyen");
await expect(appPage.pageHeader).toContainText("Saleor QA App");
await appPage.deleteButton.click();
await appPage.deleteAppDialog.clickDeleteButton();
await appsPage.expectSuccessBanner();
Expand Down

0 comments on commit d72f2a3

Please sign in to comment.