test: skip OrderCatalog and add viewPort for TicketList

This commit is contained in:
Javier Segarra 2025-05-02 17:53:08 +02:00
parent 0ace433223
commit 88b44614f8
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/// <reference types="cypress" /> /// <reference types="cypress" />
describe('OrderCatalog', () => { describe.skip('OrderCatalog', () => {
beforeEach(() => { beforeEach(() => {
cy.login('developer'); cy.login('developer');
cy.viewport(1920, 1080); cy.viewport(1920, 1080);
@ -34,7 +34,7 @@ describe('OrderCatalog', () => {
searchByCustomTagInput('Silver'); searchByCustomTagInput('Silver');
}); });
it('filters by custom value dialog', () => { it.only('filters by custom value dialog', () => {
Cypress.on('uncaught:exception', (err) => { Cypress.on('uncaught:exception', (err) => {
if (err.message.includes('canceled')) { if (err.message.includes('canceled')) {
return false; return false;

View File

@ -2,6 +2,7 @@
describe('TicketList', () => { describe('TicketList', () => {
beforeEach(() => { beforeEach(() => {
cy.login('developer'); cy.login('developer');
cy.viewport(1920, 1080);
cy.visit('/#/ticket/list', false); cy.visit('/#/ticket/list', false);
}); });