forked from verdnatura/salix-front
Merge pull request 'fix: #8425 fixed zoneWarehouse e2e test not working' (!1304) from 8423-e2eZoneWarehouse into dev
Reviewed-on: verdnatura/salix-front#1304 Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
commit
bd2db2ef58
|
@ -14,17 +14,16 @@ describe('ZoneWarehouse', () => {
|
|||
|
||||
it('should throw an error if the warehouse chosen is already put in the zone', () => {
|
||||
cy.addBtnClick();
|
||||
cy.selectOption('[data-cy="Warehouse_select"]', 'Warehouse Two');
|
||||
cy.dataCy('Warehouse_select').type('Warehouse Two{enter}');
|
||||
cy.get(saveBtn).click();
|
||||
cy.checkNotification(dataError);
|
||||
});
|
||||
// https://redmine.verdnatura.es/issues/8425
|
||||
it.skip('should create & remove a warehouse', () => {
|
||||
|
||||
it('should create & remove a warehouse', () => {
|
||||
cy.addBtnClick();
|
||||
cy.fillInForm(data);
|
||||
cy.get(saveBtn).click();
|
||||
cy.get('.q-mt-lg > .q-btn--standard').click();
|
||||
|
||||
cy.get('tbody > :nth-child(2) > :nth-child(2) > .q-icon').click();
|
||||
cy.get('[title="Confirm"]').click();
|
||||
|
||||
|
|
Loading…
Reference in New Issue