fix: listen on 127.0.0.1
This commit is contained in:
parent
15c4f2fbde
commit
7f3153a32c
5 changed files with 16 additions and 10 deletions
|
@ -1,12 +1,12 @@
|
|||
describe('login', () => {
|
||||
it('loads', () => {
|
||||
cy.visit('http://localhost:3000/');
|
||||
cy.visit('http://127.0.0.1:3000/');
|
||||
|
||||
cy.getBySel('login-header').should('exist');
|
||||
});
|
||||
|
||||
it('shows login form', () => {
|
||||
cy.visit('http://localhost:3000/');
|
||||
cy.visit('http://127.0.0.1:3000/');
|
||||
|
||||
cy.getBySel('login-form').should('exist');
|
||||
cy.getBySel('email-input').should('exist');
|
||||
|
@ -15,13 +15,13 @@ describe('login', () => {
|
|||
});
|
||||
|
||||
it('shows sso button', () => {
|
||||
cy.visit('http://localhost:3000/');
|
||||
cy.visit('http://127.0.0.1:3000/');
|
||||
|
||||
cy.getBySel('sso-login-button_authentik').should('exist');
|
||||
});
|
||||
|
||||
it('allows login', () => {
|
||||
cy.visit('http://localhost:3000/');
|
||||
cy.visit('http://127.0.0.1:3000/');
|
||||
|
||||
cy.getBySel('email-input').type('test@example.com');
|
||||
cy.getBySel('password-input').type('password');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue