saleor-dashboard/cypress/integration/warehouse.js
Karolina 7bb3efa65d
Saleor 1736 configuration channels (#966)
* Cypress tests for channels

Co-authored-by: Marcin Gębala <maarcin.gebala@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2021-02-11 14:58:05 +01:00

25 lines
670 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]");
});
});