orgnazition.cy.js 638 B

123456789101112131415
  1. describe('Test Orgnazition', () => {
  2. beforeEach(()=>{
  3. cy.visit("http://localhost:7001");
  4. cy.login();
  5. })
  6. it("test org", () => {
  7. cy.visit("http://localhost:7001");
  8. cy.visit("http://localhost:7001/organizations");
  9. cy.url().should("eq", "http://localhost:7001/organizations");
  10. cy.visit("http://localhost:7001/organizations/built-in");
  11. cy.url().should("eq", "http://localhost:7001/organizations/built-in");
  12. cy.visit("http://localhost:7001/organizations/built-in/users");
  13. cy.url().should("eq", "http://localhost:7001/organizations/built-in/users");
  14. });
  15. })