mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-05 14:19:18 +01:00
Revert "Add screenshots and test failures to test jenkins archiving"
This reverts commit 6a390ee811.
This commit is contained in:
@@ -27,16 +27,12 @@ describe("With Anonymous mode disabled", () => {
|
||||
cy.login("scmadmin", "scmadmin");
|
||||
cy.setAnonymousMode("OFF");
|
||||
cy.byTestId("primary-navigation-logout").click();
|
||||
// take a screenshot to test archiving
|
||||
cy.screenshot();
|
||||
});
|
||||
|
||||
it("Should show login page without primary navigation", () => {
|
||||
cy.byTestId("login-button");
|
||||
cy.containsNotByTestId("div", "primary-navigation-login");
|
||||
cy.containsNotByTestId("div", "primary-navigation-repositories");
|
||||
// take a screenshot to test archiving
|
||||
cy.screenshot();
|
||||
});
|
||||
it("Should redirect after login", () => {
|
||||
cy.login("scmadmin", "scmadmin");
|
||||
|
||||
@@ -24,10 +24,7 @@
|
||||
|
||||
describe("With Anonymous mode fully enabled", () => {
|
||||
before("Set anonymous mode to full", () => {
|
||||
// take a screenshot to test archiving
|
||||
cy.screenshot();
|
||||
// fail test to test video archiving
|
||||
cy.login("scmadmin", "FAIL");
|
||||
cy.login("scmadmin", "scmadmin");
|
||||
cy.setAnonymousMode("FULL");
|
||||
|
||||
// Give anonymous user permissions
|
||||
|
||||
@@ -34,8 +34,6 @@ describe("With Anonymous mode protocol only enabled", () => {
|
||||
cy.byTestId("login-button");
|
||||
cy.containsNotByTestId("div", "primary-navigation-login");
|
||||
cy.containsNotByTestId("div", "primary-navigation-repositories");
|
||||
// take a screenshot to test archiving
|
||||
cy.screenshot();
|
||||
});
|
||||
|
||||
after("Disable anonymous access", () => {
|
||||
|
||||
Reference in New Issue
Block a user