Fix cypress by using new stage "TESTING"

Cypress did not work because of the stricter security header. We introduced a new stage named "TESTING" which ignores this security headers and allow testing tools to work as intended.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
This commit is contained in:
Eduard Heimbuch
2023-09-08 15:19:54 +02:00
parent 8352cf349c
commit 93a23466ff
5 changed files with 65 additions and 45 deletions

View File

@@ -34,6 +34,7 @@ describe("Repository File Search", () => {
// Create user and login
username = hri.random();
password = hri.random();
cy.restSetConfig({ enabledFileSearch: true });
cy.restCreateUser(username, password);
cy.restLogin(username, password);