Skip to content

Commit

Permalink
Fixed repository/git test (#806)
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Braginsky <[email protected]>
  • Loading branch information
ibragins authored Nov 14, 2023
1 parent 0716929 commit e6c2ae3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/tests/administration/repository/git.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ limitations under the License.
/// <reference types="cypress" />

import {
clickByText,
deleteByList,
getRandomAnalysisData,
getRandomApplicationData,
Expand All @@ -27,7 +28,7 @@ import * as data from "../../../../utils/data_utils";
import { GitConfiguration } from "../../../models/administration/repositories/git";
import { Analysis } from "../../../models/migration/applicationinventory/analysis";
import { CredentialsSourceControlUsername } from "../../../models/administration/credentials/credentialsSourceControlUsername";
import { CredentialType, UserCredentials } from "../../../types/constants";
import { button, CredentialType, UserCredentials } from "../../../types/constants";

let gitConfiguration = new GitConfiguration();
let source_credential: CredentialsSourceControlUsername;
Expand Down Expand Up @@ -108,6 +109,7 @@ describe(["@tier1"], "Test secure and insecure git repository analysis", () => {
application.analyze();
application.verifyAnalysisStatus("Failed");
application.openAnalysisDetails();
clickByText(button, "Close");
});

after("Perform test data clean up", () => {
Expand Down

0 comments on commit e6c2ae3

Please sign in to comment.