0
0
Fork 0

refactor: remove unnecesary things

This commit is contained in:
William Buezas 2024-11-26 21:05:47 -03:00
parent 0e55f7abdc
commit a2d84c48c0
2 changed files with 0 additions and 8 deletions

View File

@ -106,7 +106,6 @@ watch(
:limit="50"
:user-params="catalogParams"
:auto-load="autoLoad"
data-cy="orderCatalogPage"
>
<template #body="{ rows }">
<div class="catalog-list">

View File

@ -42,31 +42,26 @@ describe('OrderCatalog', () => {
};
it('Shows empty state', () => {
// PASS;
cy.dataCy('orderCatalogPage').should('exist');
cy.dataCy('orderCatalogPage').contains('No data to display');
});
it('filter by category', () => {
// PASS;
selectCategory();
cy.dataCy('orderCatalogItem').should('exist');
});
it('filters by type', () => {
// PASS;
selectCategory();
selectTypeFilter('Anthurium');
});
it('filters by custom value select', () => {
// PASS
selectCategory();
searchByCustomTagInput('Silver');
});
it('filters by custom value dialog', () => {
// PASS
Cypress.on('uncaught:exception', (err) => {
if (err.message.includes('canceled')) {
return false;
@ -87,7 +82,6 @@ describe('OrderCatalog', () => {
});
it('removes a secondary tag', () => {
// PASS
selectCategory();
selectTypeFilter('Anthurium');
cy.dataCy('vnFilterPanelChip').should('exist');
@ -105,7 +99,6 @@ describe('OrderCatalog', () => {
});
it('Removes category tag', () => {
// PASS
selectCategory();
cy.get(
"div.q-page-container [data-cy='catalogFilterCustomTag'] > i.q-chip__icon--remove"