2020-07-20 09:42:44 +00:00
|
|
|
// <reference types="cypress" />
|
|
|
|
describe("Warehouse settings", () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
cy.clearSessionData();
|
|
|
|
});
|
|
|
|
|
2020-08-20 13:36:00 +00:00
|
|
|
xit("Warehouse section visible in the configuration", () => {
|
2020-07-20 09:42:44 +00:00
|
|
|
cy.visit("/configuration/")
|
2020-08-20 13:36:00 +00:00
|
|
|
.loginUser()
|
2020-09-09 11:15:18 +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", () => {
|
2020-07-20 09:42:44 +00:00
|
|
|
cy.visit(`/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]");
|
|
|
|
});
|
|
|
|
});
|