Skip to content

Commit

Permalink
Add CSV file with missing application name
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Sep 1, 2023
1 parent 6bf2ba2 commit 40bf900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ describe(["@tier2"], "Application import operations", () => {
verifyImportErrorMsg(errorMsgs);
});

it("Import .CSV file without app name", function () {
it("Import .CSV file with missing application name", function () {
// Automates https://issues.redhat.com/browse/TACKLE-634
Application.open();
cy.wait("@getApplication");

// Import csv with invalid record type
const fileName = "missing_app_name.csv";
const fileName = "missing_application_name.csv";
importApplication(filePath + fileName);
cy.wait(2000);

Expand Down
2 changes: 2 additions & 0 deletions cypress/fixtures/app_import/csv/missing_application_name.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Record Type 1,Application Name,Description,Comments,Business Service,Dependency,Dependency Direction,Binary Group,Binary Artifact,Binary Version,Binary Packaging,Repository Type,Repository URL,Repository Branch,Repository Path,Tag Category 1,Tag 1,Tag Category 2,Tag 2,Tag Category 3,Tag 3,Tag Category 4,Tag 4,Tag Category 5,Tag 5,Tag Category 6,Tag 6,Tag Category 7,Tag 7,Tag Category 8,Tag 8,Tag Category 9,Tag 9,Tag Category 10,Tag 10,Tag Category 11,Tag 11,Tag Category 12,Tag 12,Tag Category 13,Tag 13,Tag Category 14,Tag 14,Tag Category 15,Tag 15,Tag Category 16,Tag 16,Tag Category 17,Tag 17,Tag Category 18,Tag 18,Tag Category 19,Tag 19,Tag Category 20,Tag 20
1,,Legacy Customers management service,,Retail,,,corp.acme.demo,customers-tomcat,0.0.1-SNAPSHOT,war,git,https://git-acme.local/customers.git,,,Operating System,RHEL 8,Database,Oracle,Language,Java,Runtime,Tomcat,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

0 comments on commit 40bf900

Please sign in to comment.