fix(test): fix testing ci workflow and clean up docker
All checks were successful
container-scan / Container Scan (pull_request) Successful in 1m29s
docker-build / docker (pull_request) Successful in 4m30s
tests / Tests (pull_request) Successful in 4m31s

This commit is contained in:
Dominik 2025-05-13 11:38:22 +02:00
parent 15c4f2fbde
commit 5d63cf37d6
7 changed files with 18 additions and 13 deletions

View file

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