portainer/test/e2e/cypress/integration/init.spec.js

17 lines
512 B
JavaScript
Raw Normal View History

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();
});
it('Select local docker endpoint and init', function () {
cy.initEndpoint();
cy.url().should('include', 'home');
});
});
});