refactor: refs #8363 adapted fixed price e2e
This commit is contained in:
parent
b0dd15636c
commit
541d931d21
|
@ -44,9 +44,9 @@ describe('Handle Items FixedPrice', () => {
|
||||||
.invoke('text')
|
.invoke('text')
|
||||||
.then((text) => {
|
.then((text) => {
|
||||||
if (text.includes('Melee weapon combat fist 15cm')) {
|
if (text.includes('Melee weapon combat fist 15cm')) {
|
||||||
cy.wrap($el).parent().find('.sticky').click();
|
cy.wrap($el).parent().find('.q-checkbox').click();
|
||||||
|
cy.get('[data-cy="crudModelDefaultRemoveBtn"]').click();
|
||||||
cy.dataCy('VnConfirm_confirm').click();
|
cy.dataCy('VnConfirm_confirm').click().click();
|
||||||
cy.checkNotification('Data saved');
|
cy.checkNotification('Data saved');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -60,7 +60,6 @@ describe('Handle Items FixedPrice', () => {
|
||||||
cy.get('.q-menu .q-item').contains(grouping).click();
|
cy.get('.q-menu .q-item').contains(grouping).click();
|
||||||
cy.dataCy('EditFixedPriceValueOption').type('5');
|
cy.dataCy('EditFixedPriceValueOption').type('5');
|
||||||
cy.get(saveEditBtn).click();
|
cy.get(saveEditBtn).click();
|
||||||
cy.dataCy('crudModelDefaultSaveBtn').click();
|
|
||||||
cy.checkNotification('Data saved');
|
cy.checkNotification('Data saved');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue