mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
clean-up cypress docker config
This commit is contained in:
parent
9779d9ba76
commit
2a8402218a
4 changed files with 27 additions and 19 deletions
|
|
@ -6,8 +6,12 @@ describe('Login tests', () => {
|
|||
},
|
||||
() => {
|
||||
cy.visit('/login');
|
||||
cy.getDataTest('input-username').find('input').type(Cypress.env('umami_user'));
|
||||
cy.getDataTest('input-password').find('input').type(Cypress.env('umami_password'));
|
||||
cy.getDataTest('input-username').find('input').click();
|
||||
cy.getDataTest('input-username').find('input').type(Cypress.env('umami_user'), { delay: 50 });
|
||||
cy.getDataTest('input-password').find('input').click();
|
||||
cy.getDataTest('input-password')
|
||||
.find('input')
|
||||
.type(Cypress.env('umami_password'), { delay: 50 });
|
||||
cy.getDataTest('button-submit').click();
|
||||
cy.url().should('eq', Cypress.config().baseUrl + '/dashboard');
|
||||
cy.getDataTest('button-profile').click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue