Skip to content

Commit

Permalink
removed Analysis on SVN Repository without trunk folder TC as it is…
Browse files Browse the repository at this point in the history
… not relevant any more (#1284)

Signed-off-by: midays <midays@redhat.com>
  • Loading branch information
midays authored Dec 9, 2024
1 parent b2b515f commit a34d2c4
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions cypress/e2e/tests/administration/repository/subversion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
getRandomAnalysisData,
getRandomApplicationData,
login,
selectLogView,
} from "../../../../utils/utils";
import { SubversionConfiguration } from "../../../models/administration/repositories/subversion";
import { CredentialsSourceControlUsername } from "../../../models/administration/credentials/credentialsSourceControlUsername";
Expand Down Expand Up @@ -111,36 +110,6 @@ describe(["@tier2"], "Test secure and insecure svn repository analysis", () => {
);
});
});

// Automates customer bug MTA-1717
it("Analysis on SVN Repository without trunk folder", function () {
subversionConfiguration.enableInsecureSubversionRepositories();

const application = new Analysis(
getRandomApplicationData("svn bookserver app no trunk", {
sourceData: this.appData["bookserver-svn-insecure-no-trunk"],
}),
getRandomAnalysisData(this.analysisData["source_analysis_on_bookserverapp"])
);
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
application.manageCredentials(sourceCredential.name, null);
application.analyze();
application.verifyAnalysisStatus(AnalysisStatuses.failed);
application.openAnalysisDetails();

cy.intercept("GET", "/hub/tasks/*?merged=1").as("applicationDetails");
selectLogView("Merged log view");

cy.wait("@applicationDetails").then((interception) => {
expect(interception.response.body).to.contain(
"trunk'' non-existent",
"Analysis details don't contains the expected error message"
);
});
});

afterEach("Clear state", function () {
Analysis.open(true);
});
Expand Down

0 comments on commit a34d2c4

Please sign in to comment.