8627-devToTest #1421

Merged
alexm merged 768 commits from 8627-devToTest into test 2025-02-18 12:37:37 +00:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit f51e8b2e4d - Show all commits

View File

@ -52,7 +52,7 @@ function deleteFile(dmsFk) {
invoiceInRef.value.formData.dmsFk = null; invoiceInRef.value.formData.dmsFk = null;
invoiceInRef.value.formData.dms = undefined; invoiceInRef.value.formData.dms = undefined;
invoiceInRef.value.hasChanges = true; invoiceInRef.value.hasChanges = true;
invoiceInRef.value.save(); invoiceInRef.value.save({ prevent: false });
}); });
} }
</script> </script>
@ -281,7 +281,7 @@ function deleteFile(dmsFk) {
invoiceInRef.formData.dmsFk = dmsData.id; invoiceInRef.formData.dmsFk = dmsData.id;
invoiceInRef.formData.dms = dmsData; invoiceInRef.formData.dms = dmsData;
invoiceInRef.hasChanges = true; invoiceInRef.hasChanges = true;
invoiceInRef.save(); invoiceInRef.save({ prevent: false });
} }
" "
/> />

View File

@ -20,7 +20,7 @@ describe('InvoiceInBasicData', () => {
cy.get(formInputs).eq(1).invoke('val').should('eq', '4739'); 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 firtsInput = 'Ticket:65';
const secondInput = "I don't know what posting here!"; const secondInput = "I don't know what posting here!";
@ -46,7 +46,7 @@ describe('InvoiceInBasicData', () => {
'test/cypress/fixtures/image.jpg', 'test/cypress/fixtures/image.jpg',
{ {
force: true, force: true,
} },
); );
cy.get('[data-cy="FormModelPopup_save"]').click(); cy.get('[data-cy="FormModelPopup_save"]').click();
cy.checkNotification('Data saved'); cy.checkNotification('Data saved');

View File

@ -9,7 +9,7 @@ describe('WagonTypeCreate', () => {
it('should create a new wagon type and then delete it', () => { it('should create a new wagon type and then delete it', () => {
cy.get('.q-page-sticky > div > .q-btn').click(); cy.get('.q-page-sticky > div > .q-btn').click();
cy.get('input').first().type('Example for testing'); 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(); cy.get('[title="Remove"] > .q-btn__content > .q-icon').first().click();
}); });
}); });