permissions.cy.js 521 B

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