diff --git a/src/pages/Order/Card/OrderLines.vue b/src/pages/Order/Card/OrderLines.vue
index e5b683534..36dc3883e 100644
--- a/src/pages/Order/Card/OrderLines.vue
+++ b/src/pages/Order/Card/OrderLines.vue
@@ -208,15 +208,28 @@ async function remove(item) {
async function handleConfirm() {
const result = await confirm(route.params.id);
if (result) {
+ const sale = await axios.get(`OrderRows`, {
+ params: {
+ filter: JSON.stringify({
+ where: { orderFk: route.params.id },
+ }),
+ },
+ });
+ const ticket = await axios.get(`Sales`, {
+ params: {
+ filter: JSON.stringify({
+ where: { id: sale.data[0].saleFk },
+ }),
+ },
+ });
quasar.notify({
message: t('globals.dataSaved'),
type: 'positive',
});
router.push({
- name: 'TicketList',
- query: {
- table: JSON.stringify({ clientFk: descriptorData.store.data.clientFk }),
- },
+ name: 'TicketSale',
+ params: { id: ticket.data[0].ticketFk },
+ query: { table: JSON.stringify({ filter: { limit: 20, skip: 0 } }) },
});
}
}
diff --git a/src/pages/Order/Card/OrderSearchbar.vue b/src/pages/Order/Card/OrderSearchbar.vue
deleted file mode 100644
index fa30a097f..000000000
--- a/src/pages/Order/Card/OrderSearchbar.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-es:
- Search order: Buscar orden
- Search orders by ticket id: Buscar pedido por id ticket
-
diff --git a/src/pages/Order/OrderList.vue b/src/pages/Order/OrderList.vue
index baa203541..ae1fe68bd 100644
--- a/src/pages/Order/OrderList.vue
+++ b/src/pages/Order/OrderList.vue
@@ -8,15 +8,14 @@ import { useRoute } from 'vue-router';
import axios from 'axios';
import OrderSummary from 'pages/Order/Card/OrderSummary.vue';
-import OrderSearchbar from './Card/OrderSearchbar.vue';
import OrderFilter from './Card/OrderFilter.vue';
-import RightMenu from 'src/components/common/RightMenu.vue';
import CustomerDescriptorProxy from '../Customer/Card/CustomerDescriptorProxy.vue';
import WorkerDescriptorProxy from '../Worker/Card/WorkerDescriptorProxy.vue';
import VnTable from 'src/components/VnTable/VnTable.vue';
import VnInputDate from 'src/components/common/VnInputDate.vue';
import VnSelect from 'src/components/common/VnSelect.vue';
+import VnSection from 'src/components/common/VnSection.vue';
const { t } = useI18n();
const { viewSummary } = useSummaryDialog();
@@ -24,6 +23,8 @@ const tableRef = ref();
const agencyList = ref([]);
const route = useRoute();
const addressOptions = ref([]);
+const dataKey = 'OrderList';
+
const columns = computed(() => [
{
align: 'left',
@@ -178,117 +179,126 @@ const getDateColor = (date) => {
if (difference < 0) return 'bg-success';
};
+
-
-
-
+
+
-
-
-
-
- {{ row?.clientName }}
-
-
-
-
-
- {{ row?.name }}
-
-
-
-
-
-
- {{ toDate(row?.landed) }}
-
-
-
-
- fetchClientAddress(id, data)"
+
+
-
-
-
-
- {{ scope.opt.name }}
-
-
- {{ `#${scope.opt.id}` }}
-
-
-
+
+
+ {{ row?.clientName }}
+
+
-
- fetchAgencies(data)"
- >
-
-
-
-
- {{
- `${
- !scope.opt?.isActive
- ? t('basicData.inactive')
- : ''
- } `
- }}
- {{ scope.opt?.nickname }}: {{ scope.opt?.street }},
- {{ scope.opt?.city }}
-
-
-
+
+
+ {{ row?.name }}
+
+
-
- fetchAgencies(data)"
- />
-
+
+
+
+ {{ toDate(row?.landed) }}
+
+
+
+
+ fetchClientAddress(id, data)"
+ >
+
+
+
+
+ {{ scope.opt.name }}
+
+
+ {{ `#${scope.opt.id}` }}
+
+
+
+
+
+ fetchAgencies(data)"
+ >
+
+
+
+
+ {{
+ `${
+ !scope.opt?.isActive
+ ? t('basicData.inactive')
+ : ''
+ } `
+ }}
+ {{ scope.opt?.nickname }}:
+ {{ scope.opt?.street }},
+ {{ scope.opt?.city }}
+
+
+
+
+
+ fetchAgencies(data)"
+ />
+
+
+
-
+
diff --git a/src/pages/Order/locale/en.yml b/src/pages/Order/locale/en.yml
index 4349bc76f..14e41c559 100644
--- a/src/pages/Order/locale/en.yml
+++ b/src/pages/Order/locale/en.yml
@@ -21,3 +21,26 @@ lines:
image: Image
params:
tagGroups: Tags
+order:
+ field:
+ salesPersonFk: Sales Person
+ form:
+ clientFk: Client
+ addressFk: Address
+ agencyModeFk: Agency
+ list:
+ newOrder: New Order
+ summary:
+ basket: Basket
+ notConfirmed: Not confirmed
+ created: Created
+ createdFrom: Created From
+ address: Address
+ total: Total
+ items: Items
+ orderTicketList: Order Ticket List
+ amount: Amount
+ confirm: Confirm
+ confirmLines: Confirm lines
+ search: Search orders
+ searchInfo: You can search orders by ticket id
diff --git a/src/pages/Order/locale/es.yml b/src/pages/Order/locale/es.yml
index cef06cb6d..44e243ad1 100644
--- a/src/pages/Order/locale/es.yml
+++ b/src/pages/Order/locale/es.yml
@@ -21,3 +21,29 @@ lines:
image: Imagen
params:
tagGroups: Tags
+order:
+ field:
+ salesPersonFk: Comercial
+ form:
+ clientFk: Cliente
+ addressFk: Dirección
+ agencyModeFk: Agencia
+ list:
+ newOrder: Nuevo Pedido
+ summary:
+ basket: Cesta
+ notConfirmed: No confirmada
+ created: Creado
+ createdFrom: Creado desde
+ address: Dirección
+ total: Total
+ vat: IVA
+ state: Estado
+ alias: Alias
+ items: Artículos
+ orderTicketList: Tickets del pedido
+ amount: Monto
+ confirm: Confirmar
+ confirmLines: Confirmar lineas
+ search: Buscar pedido
+ searchInfo: Buscar pedidos por el número de ticket
diff --git a/src/pages/Supplier/Card/SupplierFiscalData.vue b/src/pages/Supplier/Card/SupplierFiscalData.vue
index 44235717f..cd80583a7 100644
--- a/src/pages/Supplier/Card/SupplierFiscalData.vue
+++ b/src/pages/Supplier/Card/SupplierFiscalData.vue
@@ -92,6 +92,7 @@ function handleLocation(data, location) {
[
align: 'left',
label: t('globals.name'),
name: 'socialName',
- create: true,
+ attrs: {
+ uppercase: true,
+ },
columnFilter: {
name: 'search',
+ attrs: {
+ uppercase: false,
+ },
},
isTitle: true,
},
@@ -118,14 +124,18 @@ const columns = computed(() => [
formInitialData: {},
mapper: (data) => {
data.name = data.socialName;
- delete data.socialName;
+
return data;
},
}"
:right-search="false"
order="id ASC"
:columns="columns"
- />
+ >
+
+
+
+
diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue
index 48393a8c7..0b784b993 100644
--- a/src/pages/Worker/WorkerList.vue
+++ b/src/pages/Worker/WorkerList.vue
@@ -138,7 +138,11 @@ function uppercaseStreetModel(data) {
return {
get: () => (data.street ? data.street.toUpperCase() : ''),
set: (value) => {
- data.street = value.toUpperCase();
+ if (value) {
+ data.street = value.toUpperCase();
+ } else {
+ data.street = null;
+ }
},
};
}
diff --git a/src/router/modules/entry.js b/src/router/modules/entry.js
index 26ce773c5..f362c7653 100644
--- a/src/router/modules/entry.js
+++ b/src/router/modules/entry.js
@@ -1,50 +1,123 @@
import { RouterView } from 'vue-router';
+const entryCard = {
+ name: 'EntryCard',
+ path: ':id',
+ component: () => import('src/pages/Entry/Card/EntryCard.vue'),
+ redirect: { name: 'EntrySummary' },
+ meta: {
+ menu: [
+ 'EntryBasicData',
+ 'EntryBuys',
+ 'EntryNotes',
+ 'EntryDms',
+ 'EntryLog',
+ ],
+ },
+ children: [
+ {
+ path: 'summary',
+ name: 'EntrySummary',
+ meta: {
+ title: 'summary',
+ icon: 'launch',
+ },
+ component: () => import('src/pages/Entry/Card/EntrySummary.vue'),
+ },
+ {
+ path: 'basic-data',
+ name: 'EntryBasicData',
+ meta: {
+ title: 'basicData',
+ icon: 'vn:settings',
+ },
+ component: () => import('src/pages/Entry/Card/EntryBasicData.vue'),
+ },
+ {
+ path: 'buys',
+ name: 'EntryBuys',
+ meta: {
+ title: 'buys',
+ icon: 'vn:lines',
+ },
+ component: () => import('src/pages/Entry/Card/EntryBuys.vue'),
+ },
+ {
+ path: 'buys/import',
+ name: 'EntryBuysImport',
+ component: () => import('src/pages/Entry/Card/EntryBuysImport.vue'),
+ },
+ {
+ path: 'notes',
+ name: 'EntryNotes',
+ meta: {
+ title: 'notes',
+ icon: 'vn:notes',
+ },
+ component: () => import('src/pages/Entry/Card/EntryNotes.vue'),
+ },
+ {
+ path: 'dms',
+ name: 'EntryDms',
+ meta: {
+ title: 'dms',
+ icon: 'smb_share',
+ },
+ component: () => import('src/pages/Entry/Card/EntryDms.vue'),
+ },
+ {
+ path: 'log',
+ name: 'EntryLog',
+ meta: {
+ title: 'log',
+ icon: 'vn:History',
+ },
+ component: () => import('src/pages/Entry/Card/EntryLog.vue'),
+ },
+ ],
+};
+
export default {
- path: '/entry',
name: 'Entry',
+ path: '/entry',
meta: {
title: 'entries',
icon: 'vn:entry',
moduleName: 'Entry',
keyBinding: 'e',
- },
- component: RouterView,
- redirect: { name: 'EntryMain' },
- menus: {
- main: [
+ menu: [
'EntryList',
'MyEntries',
'EntryLatestBuys',
'EntryStockBought',
'EntryWasteRecalc',
- ],
- card: ['EntryBasicData', 'EntryBuys', 'EntryNotes', 'EntryDms', 'EntryLog'],
+ ]
},
+ component: RouterView,
+ redirect: { name: 'EntryMain' },
children: [
{
- path: '',
name: 'EntryMain',
+ path: '',
component: () => import('src/components/common/VnModule.vue'),
- redirect: { name: 'EntryList' },
+ redirect: { name: 'EntryIndexMain' },
children: [
{
- path: 'list',
- name: 'EntryList',
- meta: {
- title: 'list',
- icon: 'view_list',
- },
+ path:'',
+ name: 'EntryIndexMain',
+ redirect: { name: 'EntryList' },
component: () => import('src/pages/Entry/EntryList.vue'),
- },
- {
- path: 'my',
- name: 'MyEntries',
- meta: {
- title: 'labeler',
- icon: 'sell',
- },
- component: () => import('src/pages/Entry/MyEntries.vue'),
+ children: [
+ {
+ name: 'EntryList',
+ path: 'list',
+ meta: {
+ title: 'list',
+ icon: 'view_list',
+ },
+ },
+ entryCard,
+ ],
},
{
path: 'create',
@@ -54,6 +127,15 @@ export default {
icon: 'add',
},
component: () => import('src/pages/Entry/EntryCreate.vue'),
+ },
+ {
+ path: 'my',
+ name: 'MyEntries',
+ meta: {
+ title: 'labeler',
+ icon: 'sell',
+ },
+ component: () => import('src/pages/Entry/MyEntries.vue'),
},
{
path: 'latest-buys',
@@ -84,72 +166,5 @@ export default {
},
],
},
- {
- name: 'EntryCard',
- path: ':id',
- component: () => import('src/pages/Entry/Card/EntryCard.vue'),
- redirect: { name: 'EntrySummary' },
- children: [
- {
- name: 'EntrySummary',
- path: 'summary',
- meta: {
- title: 'summary',
- icon: 'launch',
- },
- component: () => import('src/pages/Entry/Card/EntrySummary.vue'),
- },
- {
- path: 'basic-data',
- name: 'EntryBasicData',
- meta: {
- title: 'basicData',
- icon: 'vn:settings',
- },
- component: () => import('src/pages/Entry/Card/EntryBasicData.vue'),
- },
- {
- path: 'buys',
- name: 'EntryBuys',
- meta: {
- title: 'buys',
- icon: 'vn:lines',
- },
- component: () => import('src/pages/Entry/Card/EntryBuys.vue'),
- },
- {
- path: 'buys/import',
- name: 'EntryBuysImport',
- component: () => import('src/pages/Entry/Card/EntryBuysImport.vue'),
- },
- {
- path: 'notes',
- name: 'EntryNotes',
- meta: {
- title: 'notes',
- icon: 'vn:notes',
- },
- component: () => import('src/pages/Entry/Card/EntryNotes.vue'),
- },
- {
- path: 'dms',
- name: 'EntryDms',
- meta: {
- title: 'dms',
- icon: 'smb_share',
- },
- component: () => import('src/pages/Entry/Card/EntryDms.vue'),
- },
- {
- path: 'log',
- name: 'EntryLog',
- meta: {
- title: 'log',
- icon: 'vn:History',
- },
- component: () => import('src/pages/Entry/Card/EntryLog.vue'),
- },
- ],
- },
],
-};
+};
\ No newline at end of file
diff --git a/src/router/modules/order.js b/src/router/modules/order.js
index 77af812cf..bdd080e7f 100644
--- a/src/router/modules/order.js
+++ b/src/router/modules/order.js
@@ -1,35 +1,102 @@
import { RouterView } from 'vue-router';
+const orderCard = {
+ name: 'OrderCard',
+ path: ':id',
+ component: () => import('src/pages/Order/Card/OrderCard.vue'),
+ redirect: { name: 'OrderSummary' },
+ meta: {
+ menu: [
+ 'OrderBasicData',
+ 'OrderCatalog',
+ 'OrderVolume',
+ 'OrderLines',
+ ],
+ },
+ children: [
+ {
+ path: 'summary',
+ name: 'OrderSummary',
+ meta: {
+ title: 'summary',
+ icon: 'launch',
+ },
+ component: () => import('src/pages/Order/Card/OrderSummary.vue'),
+ },
+ {
+ path: 'basic-data',
+ name: 'OrderBasicData',
+ meta: {
+ title: 'basicData',
+ icon: 'vn:settings',
+ },
+ component: () => import('src/pages/Order/Card/OrderBasicData.vue'),
+ },
+ {
+ path: 'catalog',
+ name: 'OrderCatalog',
+ meta: {
+ title: 'catalog',
+ icon: 'vn:basket',
+ },
+ component: () => import('src/pages/Order/Card/OrderCatalog.vue'),
+ },
+ {
+ path: 'volume',
+ name: 'OrderVolume',
+ meta: {
+ title: 'volume',
+ icon: 'vn:volume',
+ },
+ component: () => import('src/pages/Order/Card/OrderVolume.vue'),
+ },
+ {
+ path: 'line',
+ name: 'OrderLines',
+ meta: {
+ title: 'lines',
+ icon: 'vn:lines',
+ },
+ component: () => import('src/pages/Order/Card/OrderLines.vue'),
+ },
+ ],
+};
+
export default {
- path: '/order',
name: 'Order',
+ path: '/order',
meta: {
title: 'order',
icon: 'vn:basket',
moduleName: 'Order',
keyBinding: 'o',
+ menu: ['OrderList'],
},
component: RouterView,
redirect: { name: 'OrderMain' },
- menus: {
- main: ['OrderList'],
- card: ['OrderBasicData', 'OrderCatalog', 'OrderVolume', 'OrderLines'],
- },
children: [
{
- path: '',
name: 'OrderMain',
+ path: '',
component: () => import('src/components/common/VnModule.vue'),
- redirect: { name: 'OrderList' },
+ redirect: { name: 'OrderIndexMain' },
children: [
{
- path: 'list',
- name: 'OrderList',
- meta: {
- title: 'orderList',
- icon: 'view_list',
- },
+ path: '',
+ name: 'OrderIndexMain',
+ redirect: { name: 'OrderList' },
component: () => import('src/pages/Order/OrderList.vue'),
+ children: [
+ {
+ name: 'OrderList',
+ path: 'list',
+ meta: {
+ title: 'orderList',
+ icon: 'view_list',
+ },
+ },
+ orderCard,
+ ],
},
{
path: 'create',
@@ -42,58 +109,5 @@ export default {
},
],
},
- {
- name: 'OrderCard',
- path: ':id',
- component: () => import('src/pages/Order/Card/OrderCard.vue'),
- redirect: { name: 'OrderSummary' },
- children: [
- {
- name: 'OrderSummary',
- path: 'summary',
- meta: {
- title: 'summary',
- icon: 'launch',
- },
- component: () => import('src/pages/Order/Card/OrderSummary.vue'),
- },
- {
- name: 'OrderBasicData',
- path: 'basic-data',
- meta: {
- title: 'basicData',
- icon: 'vn:settings',
- },
- component: () => import('src/pages/Order/Card/OrderBasicData.vue'),
- },
- {
- name: 'OrderCatalog',
- path: 'catalog',
- meta: {
- title: 'catalog',
- icon: 'vn:basket',
- },
- component: () => import('src/pages/Order/Card/OrderCatalog.vue'),
- },
- {
- name: 'OrderVolume',
- path: 'volume',
- meta: {
- title: 'volume',
- icon: 'vn:volume',
- },
- component: () => import('src/pages/Order/Card/OrderVolume.vue'),
- },
- {
- name: 'OrderLines',
- path: 'line',
- meta: {
- title: 'lines',
- icon: 'vn:lines',
- },
- component: () => import('src/pages/Order/Card/OrderLines.vue'),
- },
- ],
- },
],
-};
+};
\ No newline at end of file
diff --git a/src/stores/invoiceOutGlobal.js b/src/stores/invoiceOutGlobal.js
index d8649753f..d8e061f84 100644
--- a/src/stores/invoiceOutGlobal.js
+++ b/src/stores/invoiceOutGlobal.js
@@ -7,7 +7,14 @@ import useNotify from 'src/composables/useNotify.js';
import axios from 'axios';
const { notify } = useNotify();
-
+const initInvoicing = {
+ invoicing: false,
+ nRequests: 0,
+ nPdfs: 0,
+ totalPdfs: 0,
+ addressIndex: 0,
+ errors: [],
+};
export const useInvoiceOutGlobalStore = defineStore({
id: 'invoiceOutGlobal',
state: () => ({
@@ -23,16 +30,11 @@ export const useInvoiceOutGlobalStore = defineStore({
addresses: [],
minInvoicingDate: null,
parallelism: null,
- invoicing: false,
- isInvoicing: false,
status: null,
- addressIndex: 0,
- errors: [],
+
printer: null,
- nRequests: 0,
- nPdfs: 0,
- totalPdfs: 0,
formData: null,
+ ...initInvoicing,
}),
actions: {
async init() {
@@ -117,12 +119,13 @@ export const useInvoiceOutGlobalStore = defineStore({
);
throw new Error("There aren't addresses to invoice");
}
- this.invoicing = false;
- this.status = 'invoicing';
this.formData = formData;
- this.addressIndex = 0;
- this.errors = [];
- await this.invoiceClient();
+ this.status = 'invoicing';
+ //reset data
+ for (const key in initInvoicing) {
+ this[key] = initInvoicing[key];
+ }
+ this.invoiceClient();
} catch (err) {
this.handleError(err);
}
@@ -184,7 +187,6 @@ export const useInvoiceOutGlobalStore = defineStore({
async invoiceClient() {
if (this.invoicing || this.nRequests >= this.parallelism) return;
const address = this.addresses[this.addressIndex];
-
if (!address || !this.status || this.status == 'stopping') {
this.status = 'stopping';
this.invoicing = false;
@@ -192,6 +194,7 @@ export const useInvoiceOutGlobalStore = defineStore({
}
try {
this.invoicing = true;
+ this.nRequests++;
const params = {
clientId: address.clientId,
addressId: address.id,
@@ -215,6 +218,7 @@ export const useInvoiceOutGlobalStore = defineStore({
}
} finally {
this.invoicing = false;
+ this.nRequests--;
this.addressIndex++;
this.invoiceClient();
}
diff --git a/test/cypress/integration/claim/claimPhoto.spec.js b/test/cypress/integration/claim/claimPhoto.spec.js
index 9b2978b19..0a7320060 100755
--- a/test/cypress/integration/claim/claimPhoto.spec.js
+++ b/test/cypress/integration/claim/claimPhoto.spec.js
@@ -1,5 +1,6 @@
///
-describe('ClaimPhoto', () => {
+// redmine.verdnatura.es/issues/8417
+describe.skip('ClaimPhoto', () => {
beforeEach(() => {
const claimId = 1;
cy.login('developer');
diff --git a/test/cypress/integration/entry/myEntry.spec.js b/test/cypress/integration/entry/myEntry.spec.js
index 4addec1c4..c25476419 100644
--- a/test/cypress/integration/entry/myEntry.spec.js
+++ b/test/cypress/integration/entry/myEntry.spec.js
@@ -8,8 +8,8 @@ describe('EntryMy when is supplier', () => {
},
});
});
-
- it('should open buyLabel when is supplier', () => {
+ // https://redmine.verdnatura.es/issues/8418
+ it.skip('should open buyLabel when is supplier', () => {
cy.get(
'[to="/null/3"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon'
).click();
diff --git a/test/cypress/integration/invoiceIn/invoiceInCorrective.spec.js b/test/cypress/integration/invoiceIn/invoiceInCorrective.spec.js
index 0eb873355..c2f111892 100644
--- a/test/cypress/integration/invoiceIn/invoiceInCorrective.spec.js
+++ b/test/cypress/integration/invoiceIn/invoiceInCorrective.spec.js
@@ -1,6 +1,6 @@
///
-
-describe('InvoiceInCorrective', () => {
+// https://redmine.verdnatura.es/issues/8419
+describe.skip('InvoiceInCorrective', () => {
const createCorrective = '.q-menu > .q-list > :nth-child(6) > .q-item__section';
const rectificativeSection = '.q-drawer-container .q-list > a:nth-child(6)';
const saveDialog = '.q-card > .q-card__actions > .q-btn--standard ';
diff --git a/test/cypress/integration/invoiceIn/invoiceInList.spec.js b/test/cypress/integration/invoiceIn/invoiceInList.spec.js
index d9ab3f7e7..0eb495419 100644
--- a/test/cypress/integration/invoiceIn/invoiceInList.spec.js
+++ b/test/cypress/integration/invoiceIn/invoiceInList.spec.js
@@ -21,8 +21,8 @@ describe('InvoiceInList', () => {
cy.url().should('include', `/invoice-in/${id}/summary`);
});
});
-
- it('should open the details', () => {
+ // https://redmine.verdnatura.es/issues/8420
+ it.skip('should open the details', () => {
cy.get(firstDetailBtn).click();
cy.get(summaryHeaders).eq(1).contains('Basic data');
cy.get(summaryHeaders).eq(4).contains('Vat');
diff --git a/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js b/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js
index b7fd11307..27f887eeb 100644
--- a/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js
+++ b/test/cypress/integration/invoiceOut/invoiceOutSummary.spec.js
@@ -35,8 +35,8 @@ describe('InvoiceOut summary', () => {
cy.dataCy('VnConfirm_confirm').click();
cy.checkNotification('InvoiceOut deleted');
});
-
- it('should transfer the invoice ', () => {
+ // https://redmine.verdnatura.es/issues/8415
+ it.skip('should transfer the invoice ', () => {
cy.typeSearchbar('T1111111{enter}');
cy.dataCy('descriptor-more-opts').click();
cy.get('.q-menu > .q-list > :nth-child(1)').click();
diff --git a/test/cypress/integration/item/itemList.spec.js b/test/cypress/integration/item/itemList.spec.js
index 49e393451..97e85a212 100644
--- a/test/cypress/integration/item/itemList.spec.js
+++ b/test/cypress/integration/item/itemList.spec.js
@@ -15,8 +15,8 @@ describe('Item list', () => {
cy.get('.q-menu .q-item').contains('Anthurium').click();
cy.get('.q-virtual-scroll__content > :nth-child(4) > :nth-child(4)').click();
});
-
- it('should create an item', () => {
+ // https://redmine.verdnatura.es/issues/8421
+ it.skip('should create an item', () => {
const data = {
Description: { val: `Test item` },
Type: { val: `Crisantemo`, type: 'select' },
diff --git a/test/cypress/integration/item/itemTag.spec.js b/test/cypress/integration/item/itemTag.spec.js
index c2de93068..28e0a747f 100644
--- a/test/cypress/integration/item/itemTag.spec.js
+++ b/test/cypress/integration/item/itemTag.spec.js
@@ -18,8 +18,8 @@ describe('Item tag', () => {
+cy.dataCy('crudModelDefaultSaveBtn').click();
cy.checkNotification("The tag or priority can't be repeated for an item");
});
-
- it('should add a new tag', () => {
+ // https://redmine.verdnatura.es/issues/8422
+ it.skip('should add a new tag', () => {
cy.get('.q-page').should('be.visible');
cy.get('.q-page-sticky > div').click();
cy.get('.q-page-sticky > div').click();
diff --git a/test/cypress/integration/ticket/ticketExpedition.spec.js b/test/cypress/integration/ticket/ticketExpedition.spec.js
index d74a122a1..d957f2136 100644
--- a/test/cypress/integration/ticket/ticketExpedition.spec.js
+++ b/test/cypress/integration/ticket/ticketExpedition.spec.js
@@ -1,6 +1,6 @@
///
-
-describe('Ticket expedtion', () => {
+// https://redmine.verdnatura.es/issues/8423
+describe.skip('Ticket expedtion', () => {
const tableContent = '.q-table .q-virtual-scroll__content';
const stateTd = 'td:nth-child(9)';
diff --git a/test/cypress/integration/ticket/ticketList.spec.js b/test/cypress/integration/ticket/ticketList.spec.js
index e273825c0..3337287c4 100644
--- a/test/cypress/integration/ticket/ticketList.spec.js
+++ b/test/cypress/integration/ticket/ticketList.spec.js
@@ -30,8 +30,8 @@ describe('TicketList', () => {
cy.get(firstRow).find('.q-btn:first').click();
cy.get('@windowOpen').should('be.calledWithMatch', /\/ticket\/\d+\/sale/);
});
-
- it('should open ticket summary', () => {
+ // https://redmine.verdnatura.es/issues/8424
+ it.skip('should open ticket summary', () => {
searchResults();
cy.get(firstRow).find('.q-btn:last').click();
cy.dataCy('ticketSummary').should('exist');
diff --git a/test/cypress/integration/vnComponent/VnLocation.spec.js b/test/cypress/integration/vnComponent/VnLocation.spec.js
index 14eb0f978..09665a816 100644
--- a/test/cypress/integration/vnComponent/VnLocation.spec.js
+++ b/test/cypress/integration/vnComponent/VnLocation.spec.js
@@ -53,7 +53,8 @@ describe('VnLocation', () => {
cy.waitForElement('.q-card');
cy.get(inputLocation).click();
});
- it('Show all options', function () {
+ // https://redmine.verdnatura.es/issues/8436
+ it.skip('Show all options', function () {
cy.get(locationOptions).should('have.length.at.least', 5);
});
it('input filter location as "al"', function () {
diff --git a/test/cypress/integration/zone/zoneWarehouse.spec.js b/test/cypress/integration/zone/zoneWarehouse.spec.js
index 817e26312..a55a5619e 100644
--- a/test/cypress/integration/zone/zoneWarehouse.spec.js
+++ b/test/cypress/integration/zone/zoneWarehouse.spec.js
@@ -18,8 +18,8 @@ describe('ZoneWarehouse', () => {
cy.get(saveBtn).click();
cy.checkNotification(dataError);
});
-
- it('should create & remove a warehouse', () => {
+ // https://redmine.verdnatura.es/issues/8425
+ it.skip('should create & remove a warehouse', () => {
cy.addBtnClick();
cy.fillInForm(data);
cy.get(saveBtn).click();