fix: refs #8352 fix rightPanel vnLog
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2025-01-24 08:59:12 +01:00
parent bf4faa88a1
commit 227d3a8c88
2 changed files with 6 additions and 6 deletions

View File

@ -10,14 +10,14 @@ describe('VnLog', () => {
cy.openRightMenu(); cy.openRightMenu();
}); });
it.skip('should filter by insert actions', () => { it('should filter by insert actions', () => {
cy.checkOption(':nth-child(7) > .q-checkbox'); cy.checkOption(':nth-child(7) > .q-checkbox');
cy.get('.q-page').click(); cy.get('.q-page').click();
cy.validateContent(chips[0], 'Document'); cy.validateContent(chips[0], 'Document');
cy.validateContent(chips[1], 'Beginning'); cy.validateContent(chips[1], 'Beginning');
}); });
it.skip('should filter by entity', () => { it('should filter by entity', () => {
cy.selectOption('.q-drawer--right .q-item > .q-select', 'Claim'); cy.selectOption('.q-drawer--right .q-item > .q-select', 'Claim');
cy.get('.q-page').click(); cy.get('.q-page').click();
cy.validateContent(chips[0], 'Claim'); cy.validateContent(chips[0], 'Claim');

View File

@ -71,7 +71,7 @@ Cypress.Commands.add('getValue', (selector) => {
return cy return cy
.get( .get(
selector + selector +
'> .q-field > .q-field__inner > .q-field__control > .q-field__control-container > .q-field__native > input' '> .q-field > .q-field__inner > .q-field__control > .q-field__control-container > .q-field__native > input',
) )
.invoke('val'); .invoke('val');
} }
@ -264,7 +264,7 @@ Cypress.Commands.add('openListSummary', (row) => {
Cypress.Commands.add('openRightMenu', (element) => { Cypress.Commands.add('openRightMenu', (element) => {
if (element) cy.waitForElement(element); if (element) cy.waitForElement(element);
cy.get('#actions-append').click(); cy.get('.q-gutter-x-sm > .q-btn > .q-btn__content > .q-icon').click();
}); });
Cypress.Commands.add('openLeftMenu', (element) => { Cypress.Commands.add('openLeftMenu', (element) => {
@ -330,7 +330,7 @@ Cypress.Commands.add('clickButtonsDescriptor', (id) => {
Cypress.Commands.add('openUserPanel', () => { Cypress.Commands.add('openUserPanel', () => {
cy.get( cy.get(
'.column > .q-avatar > .q-avatar__content > .q-img > .q-img__container > .q-img__image' '.column > .q-avatar > .q-avatar__content > .q-img > .q-img__container > .q-img__image',
).click(); ).click();
}); });
@ -356,7 +356,7 @@ Cypress.Commands.add('checkValueForm', (id, search) => {
Cypress.Commands.add('checkValueSelectForm', (id, search) => { Cypress.Commands.add('checkValueSelectForm', (id, search) => {
cy.get( cy.get(
`.grid-create > :nth-child(${id}) > .q-field > .q-field__inner > .q-field__control > .q-field__control-container > .q-field__native > .q-field__input` `.grid-create > :nth-child(${id}) > .q-field > .q-field__inner > .q-field__control > .q-field__control-container > .q-field__native > .q-field__input`,
).should('have.value', search); ).should('have.value', search);
}); });