Skip to content

Commit

Permalink
Revert "Blur date component to trigger validation."
Browse files Browse the repository at this point in the history
This reverts commit 8ae3b21.
  • Loading branch information
mshima committed May 4, 2022
1 parent 7df43fe commit 1ac4d8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('<%= entityClass %> e2e test', () => {
cy.get(`[data-cy="<%= fieldName %>"]`).select('<%= fieldValue %>');
<%_ } else if (field.fieldTypeString || field.fieldTypeNumeric || field.fieldTypeLocalDate || field.fieldTypeTimed || field.fieldTypeDuration) { _%>
cy.get(`[data-cy="<%= fieldName %>"]`).type('<%= fieldValue %>')<% if (field.fieldTypeLocalDate || field.fieldTypeTimed || field.fieldTypeDuration) { %>.blur()<% } %>.should('have.value', '<%= fieldValue %>');
cy.get(`[data-cy="<%= fieldName %>"]`).type('<%= fieldValue %>').should('have.value', '<%= fieldValue %>');
<%_ } else { _%>
cy.get(`[data-cy="<%= fieldName %>"]`).type('<%= fieldValue %>').invoke('val').should('match', new RegExp('<%= fieldValue %>'));
Expand Down

0 comments on commit 1ac4d8b

Please sign in to comment.