From 4bfbd1925e01d8945e8a29cbcfa37308da9dd3c8 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 11 Nov 2024 15:18:29 -0300 Subject: [PATCH 1/5] test: refs #8162 ticket list e2e tests --- src/components/VnTable/VnTable.vue | 1 + src/components/ui/VnSearchbar.vue | 1 + src/pages/Ticket/Card/TicketDescriptor.vue | 2 +- src/pages/Ticket/Card/TicketSummary.vue | 1 + src/pages/Ticket/TicketList.vue | 2 + .../integration/ticket/ticketList.spec.js | 54 +++++++++++++++++++ test/cypress/support/commands.js | 4 ++ 7 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 test/cypress/integration/ticket/ticketList.spec.js diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index fd7b0c51a..99a9a6801 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -737,6 +737,7 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) { fab icon="add" shortcut="+" + data-testid="vnTableCreateBtn" /> {{ createForm?.title }} diff --git a/src/components/ui/VnSearchbar.vue b/src/components/ui/VnSearchbar.vue index dc6d4751c..7a72a09ea 100644 --- a/src/components/ui/VnSearchbar.vue +++ b/src/components/ui/VnSearchbar.vue @@ -130,6 +130,7 @@ async function search() { dense standout autofocus + data-testid="vnSearchBar" >