2020-09-23 00:31:19 +00:00
|
|
|
context('Init admin & local docker endpoint', () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
cy.restoreLocalStorage();
|
|
|
|
});
|
|
|
|
describe('Initialise admin user and endpoint', function () {
|
|
|
|
it('Create admin user and verify success', function () {
|
|
|
|
cy.initAdmin('admin', 'portainer');
|
|
|
|
cy.url().should('include', 'init/endpoint');
|
|
|
|
cy.saveLocalStorage();
|
|
|
|
});
|
2021-09-08 08:42:17 +00:00
|
|
|
it('Select local docker environment and init', function () {
|
2020-09-23 00:31:19 +00:00
|
|
|
cy.initEndpoint();
|
|
|
|
cy.url().should('include', 'home');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|