Merge pull request 'fix: refs #8420 ensure search bar is visible before typing and enable details test' (!1298) from 8420-fixE2eTestInvoiceInList into dev
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1298
Reviewed-by: Jorge Penadés <jorgep@verdnatura.es>
This commit is contained in:
Jose Antonio Tubau 2025-01-28 14:03:09 +00:00
commit e1c70f9302
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ describe('InvoiceInList', () => {
cy.viewport(1920, 1080); cy.viewport(1920, 1080);
cy.login('developer'); cy.login('developer');
cy.visit(`/#/invoice-in/list`); cy.visit(`/#/invoice-in/list`);
cy.get('#searchbar input').type('{enter}'); cy.get('#searchbar input').should('be.visible').type('{enter}');
}); });
it('should redirect on clicking a invoice', () => { it('should redirect on clicking a invoice', () => {
@ -22,7 +22,7 @@ describe('InvoiceInList', () => {
}); });
}); });
// https://redmine.verdnatura.es/issues/8420 // https://redmine.verdnatura.es/issues/8420
it.skip('should open the details', () => { it('should open the details', () => {
cy.get(firstDetailBtn).click(); cy.get(firstDetailBtn).click();
cy.get(summaryHeaders).eq(1).contains('Basic data'); cy.get(summaryHeaders).eq(1).contains('Basic data');
cy.get(summaryHeaders).eq(4).contains('Vat'); cy.get(summaryHeaders).eq(4).contains('Vat');