keycloak-scim/tests/cypress/integration/00_set_new_admin_console.spec.ts
2021-01-28 10:07:12 +01:00

21 lines
645 B
TypeScript

import LoginPage from "../support/pages/LoginPage";
import WelcomePage from "../support/pages/WelcomePage";
import OldClientPage from "../support/pages/admin_console/manage/clients/OldClientPage";
const loginPage = new LoginPage();
const welcomePage = new WelcomePage();
const oldClientPage = new OldClientPage();
describe("Set up test", function () {
beforeEach(function () {
cy.visit("http://localhost:8180/auth");
});
it("Create admin user and adds admin console client", function () {
welcomePage.createAdminUser().goToAdminConsole();
loginPage.logIn();
oldClientPage.goToClients().addNewAdminConsole();
});
});