mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
feat: Test whether the page can be accessed (#1517)
* feat: add new line * feat: Test whether the page can be accessed * feat: Change the e2e order * feat: add Test Retries * feat: change yarn.lock * feat: add new line
This commit is contained in:
13
web/cypress/e2e/permissions.cy.js
Normal file
13
web/cypress/e2e/permissions.cy.js
Normal file
@ -0,0 +1,13 @@
|
||||
describe('Test permissions', () => {
|
||||
beforeEach(()=>{
|
||||
cy.visit("http://localhost:7001");
|
||||
cy.login();
|
||||
})
|
||||
it("test permissions", () => {
|
||||
cy.visit("http://localhost:7001");
|
||||
cy.visit("http://localhost:7001/permissions");
|
||||
cy.url().should("eq", "http://localhost:7001/permissions");
|
||||
cy.visit("http://localhost:7001/permissions/built-in/permission-built-in");
|
||||
cy.url().should("eq", "http://localhost:7001/permissions/built-in/permission-built-in");
|
||||
});
|
||||
})
|
Reference in New Issue
Block a user