mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
15 lines
345 B
JavaScript
15 lines
345 B
JavaScript
describe("OAuth2 token", () => {
|
|
it("lists and revokes", () => {
|
|
cy.authorize().then(function () {
|
|
cy.visit("/oauth2_tokens");
|
|
cy.screenshot("list");
|
|
|
|
cy.get("a[href$=revoke]").click();
|
|
cy.screenshot("revoke");
|
|
cy.get("#submit").click();
|
|
|
|
cy.url().should("include", "/oauth2_tokens");
|
|
});
|
|
});
|
|
});
|