Skip to content

Commit

Permalink
[TACKLE-264]-Column name Tags should be updated to Tag count (#206)
Browse files Browse the repository at this point in the history
* Change tag by tagCount

* Fix e2e test
  • Loading branch information
carlosthe19916 authored Jun 25, 2021
1 parent 443f963 commit 7aab236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ describe("Applications table", () => {
cy.wait("@getApplicationsApi");

// Asc
cy.get(".pf-c-table").pf4_table_column_toggle("Tags");
cy.get(".pf-c-table").pf4_table_column_toggle("Tag count");
cy.wait("@getApplicationsApi");

cy.get(".pf-c-table").pf4_table_rows().eq(0).contains("application-a");
cy.get(".pf-c-table").pf4_table_rows().eq(9).contains("application-j");

// Desc
cy.get(".pf-c-table").pf4_table_column_toggle("Tags");
cy.get(".pf-c-table").pf4_table_column_toggle("Tag count");
cy.wait("@getApplicationsApi");

cy.get(".pf-c-table").pf4_table_rows().eq(0).contains("application-k");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const ApplicationList: React.FC = () => {
{ title: t("terms.businessService"), transforms: [cellWidth(20)] },
{ title: t("terms.assessment"), transforms: [cellWidth(10)] },
{ title: t("terms.review"), transforms: [sortable, cellWidth(10)] },
{ title: t("terms.tags"), transforms: [sortable, cellWidth(10)] },
{ title: t("terms.tagCount"), transforms: [sortable, cellWidth(10)] },
{
title: "",
props: {
Expand Down

0 comments on commit 7aab236

Please sign in to comment.