diff --git a/cypress.config.js b/cypress.config.js index e9aeb547a..fe4227d79 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -12,7 +12,7 @@ module.exports = defineConfig({ supportFile: 'test/cypress/support/index.js', videosFolder: 'test/cypress/videos', video: false, - specPattern: 'test/cypress/integration/**/*.spec.js', + specPattern: 'test/cypress/integration/invoiceOut/*.spec.js', experimentalRunAllSpecs: true, watchForFileChanges: true, reporter: 'cypress-mochawesome-reporter', diff --git a/cypress/downloads/download.zip b/cypress/downloads/download.zip new file mode 100644 index 000000000..9bef20a3b Binary files /dev/null and b/cypress/downloads/download.zip differ diff --git a/cypress/downloads/negativeBases.csv b/cypress/downloads/negativeBases.csv new file mode 100644 index 000000000..a9f8a1632 --- /dev/null +++ b/cypress/downloads/negativeBases.csv @@ -0,0 +1,3 @@ +Company Country Id client Client workerSocialName Amount Taxable base Id ticket Active Invoice Data checked Id Comercial workerName +VNL España 1101 BATMAN salesPersonNick -35.4 -35.4 23 1 1 1 18 salesperson +VNL España 1101 BATMAN salesPersonNick -8.07 -8.07 24 1 1 1 18 salesperson \ No newline at end of file diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index ea7cf1dda..b094245ff 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -428,6 +428,7 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) {