Renamed roles and trans keys "Limited"->"Restricted" "Full" -> ""
This commit is contained in:
@@ -4,12 +4,12 @@ describe("GZ-DATA-TABLE", () => {
|
||||
|
||||
cy.get("input[name=username]")
|
||||
.clear()
|
||||
.type("BizAdminFull");
|
||||
.type("BizAdmin");
|
||||
|
||||
// {enter} causes the form to submit
|
||||
cy.get("input[name=password]")
|
||||
.clear()
|
||||
.type("BizAdminFull{enter}");
|
||||
.type("BizAdmin{enter}");
|
||||
//cy.url().should("include", "/home-dashboard");
|
||||
cy.visit("/widgets");
|
||||
cy.url().should("include", "/widgets");
|
||||
|
||||
@@ -453,10 +453,10 @@ describe("SMOKE", () => {
|
||||
//CUSTOMER PAGES
|
||||
cy.get("input[name=username]")
|
||||
.clear()
|
||||
.type("CustomerFull");
|
||||
.type("Customer");
|
||||
cy.get("input[name=password]")
|
||||
.clear()
|
||||
.type("CustomerFull{enter}");
|
||||
.type("Customer{enter}");
|
||||
|
||||
cy.url({ timeout: 10000 }).should("include", "/customer-csr");
|
||||
cy.get("[data-cy=underconstruction]");
|
||||
|
||||
@@ -95,15 +95,15 @@ describe("TRANSLATION", () => {
|
||||
cy.url().should("include", "/login");
|
||||
|
||||
//-----------------------------------------------------
|
||||
//ENGLISH - CustomerLimited
|
||||
//ENGLISH - CustomerRestricted
|
||||
cy.get("input[name=username]")
|
||||
.clear()
|
||||
.type("CustomerLimited");
|
||||
.type("CustomerRestricted");
|
||||
|
||||
// {enter} causes the form to submit
|
||||
cy.get("input[name=password]")
|
||||
.clear()
|
||||
.type("CustomerLimited{enter}");
|
||||
.type("CustomerRestricted{enter}");
|
||||
|
||||
// we should be redirected to /customer-csr
|
||||
cy.url().should("include", "/customer-csr");
|
||||
|
||||
Reference in New Issue
Block a user