casdoor/web/cypress/e2e/application.cy.js
jakiuncle fdccb8b22b
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
2023-02-03 19:59:28 +08:00

14 lines
509 B
JavaScript

describe('Test aplication', () => {
beforeEach(()=>{
cy.visit("http://localhost:7001");
cy.login();
})
it("test aplication", () => {
cy.visit("http://localhost:7001");
cy.visit("http://localhost:7001/applications");
cy.url().should("eq", "http://localhost:7001/applications");
cy.visit("http://localhost:7001/applications/built-in/app-built-in");
cy.url().should("eq", "http://localhost:7001/applications/built-in/app-built-in");
});
})