You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
732 B

  1. // TODO: Enable this again
  2. // currently this is flaky possibly because of different timezone in CI
  3. // context('Datetime Field Validation', () => {
  4. // before(() => {
  5. // cy.login();
  6. // cy.visit('/app/communication');
  7. // });
  8. // it('datetime field form validation', () => {
  9. // // validating datetime field value when value is set from backend and get validated on form load.
  10. // cy.window().its('xhiveframework').then(xhiveframework => {
  11. // return xhiveframework.xcall("xhiveframework.tests.ui_test_helpers.create_communication_record");
  12. // }).then(doc => {
  13. // cy.visit(`/app/communication/${doc.name}`);
  14. // cy.get('.indicator-pill').should('contain', 'Open').should('have.class', 'red');
  15. // });
  16. // });
  17. // });