From 0e55f7abdc863b00967028a45262c5568cb49bb8 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 25 Nov 2024 09:18:11 -0300 Subject: [PATCH] test: order catalog tests --- src/components/ui/VnFilterPanel.vue | 1 + .../Order/Card/CatalogFilterValueDialog.vue | 4 +- src/pages/Order/Card/OrderCatalog.vue | 4 +- src/pages/Order/Card/OrderCatalogFilter.vue | 5 + .../claim/Order/catalogTests.spec.js | 122 ++++++++++++++++++ test/cypress/support/commands.js | 4 + 6 files changed, 138 insertions(+), 2 deletions(-) create mode 100644 test/cypress/integration/claim/Order/catalogTests.spec.js diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index b9aa5e114..eca4e0995 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -249,6 +249,7 @@ function sanitizer(params) { :key="chip.label" :removable="!unremovableParams?.includes(chip.label)" @remove="remove(chip.label)" + data-cy="vnFilterPanelChip" >
diff --git a/src/pages/Order/Card/CatalogFilterValueDialog.vue b/src/pages/Order/Card/CatalogFilterValueDialog.vue index 9593e08c4..5855f91f4 100644 --- a/src/pages/Order/Card/CatalogFilterValueDialog.vue +++ b/src/pages/Order/Card/CatalogFilterValueDialog.vue @@ -50,7 +50,7 @@ const getSelectedTagValues = async (tag) => {