mirror of
https://github.com/casdoor/casdoor.git
synced 2025-06-09 07:50:29 +08:00
17 lines
523 B
JavaScript
17 lines
523 B
JavaScript
![]() |
describe('Test adapter', () => {
|
||
|
beforeEach(()=>{
|
||
|
cy.visit("http://localhost:7001");
|
||
|
cy.login();
|
||
|
})
|
||
|
const selector = {
|
||
|
add: ".ant-table-title > div > .ant-btn"
|
||
|
};
|
||
|
it("test adapter", () => {
|
||
|
cy.visit("http://localhost:7001");
|
||
|
cy.visit("http://localhost:7001/adapters");
|
||
|
cy.url().should("eq", "http://localhost:7001/adapters");
|
||
|
cy.get(selector.add).click();
|
||
|
cy.url().should("include","http://localhost:7001/adapters/built-in/")
|
||
|
});
|
||
|
})
|