8627-devToTest #1421
|
@ -52,7 +52,7 @@ function deleteFile(dmsFk) {
|
|||
invoiceInRef.value.formData.dmsFk = null;
|
||||
invoiceInRef.value.formData.dms = undefined;
|
||||
invoiceInRef.value.hasChanges = true;
|
||||
invoiceInRef.value.save();
|
||||
invoiceInRef.value.save({ prevent: false });
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
@ -281,7 +281,7 @@ function deleteFile(dmsFk) {
|
|||
invoiceInRef.formData.dmsFk = dmsData.id;
|
||||
invoiceInRef.formData.dms = dmsData;
|
||||
invoiceInRef.hasChanges = true;
|
||||
invoiceInRef.save();
|
||||
invoiceInRef.save({ prevent: false });
|
||||
}
|
||||
"
|
||||
/>
|
||||
|
|
|
@ -20,7 +20,7 @@ describe('InvoiceInBasicData', () => {
|
|||
cy.get(formInputs).eq(1).invoke('val').should('eq', '4739');
|
||||
});
|
||||
|
||||
it('should edit, remove and create the dms data', () => {
|
||||
it.only('should edit, remove and create the dms data', () => {
|
||||
const firtsInput = 'Ticket:65';
|
||||
const secondInput = "I don't know what posting here!";
|
||||
|
||||
|
@ -46,7 +46,7 @@ describe('InvoiceInBasicData', () => {
|
|||
'test/cypress/fixtures/image.jpg',
|
||||
{
|
||||
force: true,
|
||||
}
|
||||
},
|
||||
);
|
||||
cy.get('[data-cy="FormModelPopup_save"]').click();
|
||||
cy.checkNotification('Data saved');
|
||||
|
|
|
@ -9,7 +9,7 @@ describe('WagonTypeCreate', () => {
|
|||
it('should create a new wagon type and then delete it', () => {
|
||||
cy.get('.q-page-sticky > div > .q-btn').click();
|
||||
cy.get('input').first().type('Example for testing');
|
||||
cy.get('button[type="submit"]').click();
|
||||
cy.get('[data-cy="FormModelPopup_save"]').click();
|
||||
cy.get('[title="Remove"] > .q-btn__content > .q-icon').first().click();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue