1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-31 19:35:21 +02:00
portainer/test/e2e/cypress/integration/ci_basic_tests/init.spec.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
624 B
JavaScript
Raw Normal View History

context('Init admin user test', () => {
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 environment and init', function () {
cy.initEndpoint();
cy.url().should('include', 'home');
});
it('Add docker swarm endpoint', function () {
cy.addNewEndpoint('swarm', 'Agent', 'e2e-portainer:9001');
});
});
});