Skip to content
Snippets Groups Projects
Commit d80a3779 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6300 Add data-test-id to button

parent d71eafe8
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<ods-button
variant="outline"
text="Anfrage erstellen"
data-test-id="anfrage-erstellen-button"
dataTestId="anfrage-erstellen-button"
(clickEmitter)="showRequestForm()"
>
<ods-collaboration-icon icon />
......
......@@ -74,7 +74,7 @@ describe('CollaborationInVorgangContainerComponent', () => {
it('should call service on click', () => {
fixture.detectChanges();
dispatchEventFromFixture(fixture, anfrageErstellenButton, 'clickEmitter');
dispatchEventFromFixture(fixture, anfrageErstellenButton, 'click');
expect(service.showRequestForm).toHaveBeenCalled();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment