test: fix test beacuse use {enter}
This commit is contained in:
parent
2a85fe21b0
commit
28836fc514
|
@ -13,7 +13,6 @@ describe('AgencyWorkCenter', () => {
|
||||||
cy.get(
|
cy.get(
|
||||||
'.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container'
|
'.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container'
|
||||||
).type('workCenterOne{enter}');
|
).type('workCenterOne{enter}');
|
||||||
cy.get('.q-btn--standard > .q-btn__content > .block').click();
|
|
||||||
cy.get('.q-notification__message').should('have.text', 'Data created');
|
cy.get('.q-notification__message').should('have.text', 'Data created');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -35,13 +34,11 @@ describe('AgencyWorkCenter', () => {
|
||||||
cy.get(
|
cy.get(
|
||||||
'.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container'
|
'.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container'
|
||||||
).type('workCenterOne{enter}');
|
).type('workCenterOne{enter}');
|
||||||
cy.get('.q-btn--standard > .q-btn__content > .block').click();
|
|
||||||
cy.get('.q-notification__message').should('have.text', 'Data created');
|
cy.get('.q-notification__message').should('have.text', 'Data created');
|
||||||
cy.get('.q-page-sticky > div > .q-btn > .q-btn__content > .q-icon').click();
|
cy.get('.q-page-sticky > div > .q-btn > .q-btn__content > .q-icon').click();
|
||||||
cy.get(
|
cy.get(
|
||||||
'.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container'
|
'.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container'
|
||||||
).type('workCenterOne{enter}');
|
).type('workCenterOne{enter}');
|
||||||
cy.get('.q-btn--standard > .q-btn__content > .block').click();
|
|
||||||
|
|
||||||
cy.get(
|
cy.get(
|
||||||
':nth-child(2) > .q-notification__wrapper > .q-notification__content > .q-notification__message'
|
':nth-child(2) > .q-notification__wrapper > .q-notification__content > .q-notification__message'
|
||||||
|
|
Loading…
Reference in New Issue