8627-devToTest #1421

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

View File

@ -15,6 +15,7 @@ const { notify } = useNotify();
>
<template #menu="{ entity }">
<QItem
data-cy="delete"
v-ripple
clickable
@click="

View File

@ -0,0 +1,13 @@
describe('Vehicle', () => {
beforeEach(() => {
cy.viewport(1920, 1080);
cy.login('deliveryAssistant');
cy.visit(`/#/route/vehicle/7`);
});
it('should delete a vehicle', () => {
cy.openActionsDescriptor();
cy.get('[data-cy="delete"]').click();
cy.checkNotification('Vehicle removed');
});
});