1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-30 10:49:40 +02:00
portainer/test/e2e/cypress/integration/init.spec.js
Richard Wei 9f179fe3ec
feat(ui):rename endpoint(s) to environment(s) EE-1206 (#5588)
* rename endpoints to environments EE-1206
2021-09-08 20:42:17 +12:00

16 lines
515 B
JavaScript

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