barcode column type: playwright tests (WIP)

This commit is contained in:
flisowna
2022-12-09 15:13:59 +03:00
parent 58dfdc9d48
commit 7f75bbf824
4 changed files with 59 additions and 38 deletions

View File

@@ -31,7 +31,7 @@ onMounted(generate)
</script>
<template>
<svg v-show="!errorForCurrentInput" ref="barcodeSvgRef" @click="onBarcodeClick"></svg>
<svg data-testid="barcode" v-show="!errorForCurrentInput" ref="barcodeSvgRef" @click="onBarcodeClick"></svg>
<slot v-if="errorForCurrentInput" name="barcodeRenderError" />
</template>