You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/test/e2e/cypress/integration/ci_basic_tests/init.spec.js

20 lines
624 B

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');
});
});
});