saleor-dashboard/cypress/integration/warehouse.js
M.Graczyk ef967eb5e4
Refactor of login tests (#630)
* WIP refactor of login tests

* Xit not woriking tests, fixed rest of them

* Properly pass env vars to cypress

* Remove unused code

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-08-20 15:36:00 +02:00

23 lines
617 B
JavaScript

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