test: refs #6943 #6943 improve commands
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-11-30 01:54:12 +01:00
parent c5e8b640b4
commit 82350bc9e1
1 changed files with 0 additions and 10 deletions

View File

@ -314,10 +314,6 @@ Cypress.Commands.add('openUserPanel', () => {
).click(); ).click();
}); });
Cypress.Commands.add('openActions', (row) => {
cy.get('tbody > tr').eq(row).find('.actions > .q-btn').click();
});
Cypress.Commands.add('checkNotification', (text) => { Cypress.Commands.add('checkNotification', (text) => {
cy.get('.q-notification') cy.get('.q-notification')
.should('be.visible') .should('be.visible')
@ -344,12 +340,6 @@ Cypress.Commands.add('checkValueSelectForm', (id, search) => {
).should('have.value', search); ).should('have.value', search);
}); });
Cypress.Commands.add('checkValueForm', (id, search) => {
cy.get(
`.grid-create > :nth-child(${id}) > .q-field__inner > .q-field__control > .q-field__control-container > .q-field__native > .q-field__input`
).should('have.value', search);
});
Cypress.Commands.add('searchByLabel', (label, value) => { Cypress.Commands.add('searchByLabel', (label, value) => {
cy.get(`[label="${label}"] > .q-field > .q-field__inner`).type(`${value}{enter}`); cy.get(`[label="${label}"] > .q-field > .q-field__inner`).type(`${value}{enter}`);
}); });