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.

navigation.js 473 B

1234567891011121314
  1. context('Navigation', () => {
  2. before(() => {
  3. cy.login();
  4. cy.visit('/app/website');
  5. });
  6. it('Navigate to route with hash in document name', () => {
  7. cy.insert_doc('ToDo', {'__newname': 'ABC#123', 'description': 'Test this', 'ignore_duplicate': true});
  8. cy.visit('/app/todo/ABC#123');
  9. cy.title().should('eq', 'Test this - ABC#123');
  10. cy.get_field('description', 'Text Editor').contains('Test this');
  11. cy.go('back');
  12. cy.title().should('eq', 'Website');
  13. });
  14. });