2020-07-20 09:42:44 +00:00
|
|
|
// <reference types="cypress" />
|
2021-02-11 13:58:05 +00:00
|
|
|
import { urlList } from "../url/urlList";
|
|
|
|
|
2020-07-20 09:42:44 +00:00
|
|
|
describe("Warehouse settings", () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
cy.clearSessionData();
|
|
|
|
});
|
|
|
|
|
2020-08-20 13:36:00 +00:00
|
|
|
xit("Warehouse section visible in the configuration", () => {
|
2021-02-11 13:58:05 +00:00
|
|
|
cy.visit(urlList.configuration)
|
2020-08-20 13:36:00 +00:00
|
|
|
.loginUser()
|
2020-11-18 15:11:15 +00:00
|
|
|
.get("[data-test-id=warehouses][data-test=settingsSubsection]")
|
2020-07-20 09:42:44 +00:00
|
|
|
.click();
|
|
|
|
cy.location("pathname").should("eq", "/warehouses/");
|
|
|
|
});
|
|
|
|
|
2020-08-20 13:36:00 +00:00
|
|
|
xit("Editing warehouse is available", () => {
|
2021-02-11 13:58:05 +00:00
|
|
|
cy.visit(urlList.warehouses)
|
2020-08-20 13:36:00 +00:00
|
|
|
.loginUser()
|
2020-07-20 09:42:44 +00:00
|
|
|
.get("[data-test=editButton]")
|
|
|
|
.first()
|
|
|
|
.click()
|
|
|
|
.get("[data-test=generalInformationSection]");
|
|
|
|
});
|
|
|
|
});
|