Browse Source

fix(cypress): change > 1 to !== 1 for kanban record count

pull/3563/head
Wing-Kam Wong 2 years ago
parent
commit
373bc7a68a
  1. 2
      scripts/cypress/integration/common/4h_kanban.js

2
scripts/cypress/integration/common/4h_kanban.js

@ -50,7 +50,7 @@ function verifyKanbanStackFooterCount(count) {
.find(".nc-kanban-data-count")
.should(
"contain",
`${count[index]} record${count[index] > 1 ? "s" : ""}`
`${count[index]} record${count[index] !== 1 ? "s" : ""}`
);
});
}

Loading…
Cancel
Save