From 7f75bbf8242d866a65f839b6691fc5b1e693b6af Mon Sep 17 00:00:00 2001 From: flisowna Date: Fri, 9 Dec 2022 15:13:59 +0300 Subject: [PATCH] barcode column type: playwright tests (WIP) --- .../virtual-cell/barcode/Barcode.vue | 1 + .../virtual-cell/barcode/JsBarcodeWrapper.vue | 2 +- .../pages/Dashboard/common/Cell/index.ts | 29 +++++++++ tests/playwright/tests/columnBarcode.spec.ts | 65 ++++++++----------- 4 files changed, 59 insertions(+), 38 deletions(-) diff --git a/packages/nc-gui/components/virtual-cell/barcode/Barcode.vue b/packages/nc-gui/components/virtual-cell/barcode/Barcode.vue index 79f46101e2..3f07245ebe 100644 --- a/packages/nc-gui/components/virtual-cell/barcode/Barcode.vue +++ b/packages/nc-gui/components/virtual-cell/barcode/Barcode.vue @@ -54,6 +54,7 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning } = us v-if="barcodeValue && !tooManyCharsForBarcode" :barcode-value="barcodeValue" :barcode-format="barcodeMeta.barcodeFormat" + class="nc-barcode-svg" @on-click-barcode="showBarcodeModal" >