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-value="id"
|
||||
:readonly="formState.readOnly"
|
||||
:label="t('WidgetUserType')"
|
||||
:label="t('UserType')"
|
||||
ref="usertype"
|
||||
data-cy="usertype"
|
||||
:rules="[form().integerValid(this, 'usertype')]"
|
||||
@@ -704,7 +704,8 @@ function fetchTranslatedText(vm) {
|
||||
"WidgetSerial",
|
||||
"WidgetDollarAmount",
|
||||
"WidgetCount",
|
||||
"WidgetUserType",
|
||||
"User",
|
||||
"UserType",
|
||||
"WidgetStartDate",
|
||||
"WidgetEndDate",
|
||||
"WidgetNotes",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
describe("WIDGET", () => {
|
||||
it("Performs all crud ops on widget", () => {
|
||||
var unique = new Date().getTime();
|
||||
cy.visit("/login");
|
||||
|
||||
cy.get("input[name=username]")
|
||||
@@ -16,6 +17,7 @@ describe("WIDGET", () => {
|
||||
cy.url().should("include", "/home-dashboard");
|
||||
cy.visit("/widgets/0");
|
||||
cy.url().should("include", "/widgets/0");
|
||||
// cy.get("[data-cy=name]").type("E2E CRUD " + unique);
|
||||
|
||||
// // we should be redirected to /dashboard
|
||||
// cy.url().should("include", "/home-dashboard");
|
||||
|
||||
Reference in New Issue
Block a user