saleor-dashboard/cypress/integration/allEnv/configuration/warehouse.js
Karolina Rakoczy 9f71106f32
Saleor 3038 tests for payments by adyen (#1086)
* add tests for puchase by type

* add expect for isShippingRequired

* tests for adyen

* tests for adyen

* tests for adyen

* tests for adyen

* adyen

* adyen

* adyen

* adyen

* adyen

* warehouses in chcekout

* rm warehouses in chcekout

* adyen payments

* adyen
2021-05-16 13:38:53 +02:00

25 lines
676 B
JavaScript

// <reference types="cypress" />
import { urlList } from "../../../url/urlList";
describe("Warehouse settings", () => {
beforeEach(() => {
cy.clearSessionData();
});
xit("Warehouse section visible in the configuration", () => {
cy.visit(urlList.configuration)
.loginUser()
.get("[data-test-id=warehouses][data-test=settingsSubsection]")
.click();
cy.location("pathname").should("eq", "/warehouses/");
});
xit("Editing warehouse is available", () => {
cy.visit(urlList.warehouses)
.loginUser()
.get("[data-test=editButton]")
.first()
.click()
.get("[data-test=generalInformationSection]");
});
});