mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00

* 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
17 lines
516 B
JavaScript
17 lines
516 B
JavaScript
describe('Test payments', () => {
|
|
beforeEach(()=>{
|
|
cy.visit("http://localhost:7001");
|
|
cy.login();
|
|
})
|
|
const selector = {
|
|
add: ".ant-table-title > div > .ant-btn"
|
|
};
|
|
it("test payments", () => {
|
|
cy.visit("http://localhost:7001");
|
|
cy.visit("http://localhost:7001/payments");
|
|
cy.url().should("eq", "http://localhost:7001/payments");
|
|
cy.get(selector.add).click();
|
|
cy.url().should("include","http://localhost:7001/payments/")
|
|
});
|
|
})
|