test work and also widgetusertype sb just usertype translation key so changed at back and front
This commit is contained in:
@@ -169,7 +169,7 @@
|
|||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:label="t('WidgetUserType')"
|
:label="t('UserType')"
|
||||||
ref="usertype"
|
ref="usertype"
|
||||||
data-cy="usertype"
|
data-cy="usertype"
|
||||||
:rules="[form().integerValid(this, 'usertype')]"
|
:rules="[form().integerValid(this, 'usertype')]"
|
||||||
@@ -704,7 +704,8 @@ function fetchTranslatedText(vm) {
|
|||||||
"WidgetSerial",
|
"WidgetSerial",
|
||||||
"WidgetDollarAmount",
|
"WidgetDollarAmount",
|
||||||
"WidgetCount",
|
"WidgetCount",
|
||||||
"WidgetUserType",
|
"User",
|
||||||
|
"UserType",
|
||||||
"WidgetStartDate",
|
"WidgetStartDate",
|
||||||
"WidgetEndDate",
|
"WidgetEndDate",
|
||||||
"WidgetNotes",
|
"WidgetNotes",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
describe("WIDGET", () => {
|
describe("WIDGET", () => {
|
||||||
it("Performs all crud ops on widget", () => {
|
it("Performs all crud ops on widget", () => {
|
||||||
|
var unique = new Date().getTime();
|
||||||
cy.visit("/login");
|
cy.visit("/login");
|
||||||
|
|
||||||
cy.get("input[name=username]")
|
cy.get("input[name=username]")
|
||||||
@@ -16,6 +17,7 @@ describe("WIDGET", () => {
|
|||||||
cy.url().should("include", "/home-dashboard");
|
cy.url().should("include", "/home-dashboard");
|
||||||
cy.visit("/widgets/0");
|
cy.visit("/widgets/0");
|
||||||
cy.url().should("include", "/widgets/0");
|
cy.url().should("include", "/widgets/0");
|
||||||
|
// cy.get("[data-cy=name]").type("E2E CRUD " + unique);
|
||||||
|
|
||||||
// // we should be redirected to /dashboard
|
// // we should be redirected to /dashboard
|
||||||
// cy.url().should("include", "/home-dashboard");
|
// cy.url().should("include", "/home-dashboard");
|
||||||
|
|||||||
Reference in New Issue
Block a user