Skip to content

Commit

Permalink
chore: TRACEFOSS-2327 fixed some ui topics
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mwesener committed Nov 13, 2023
1 parent 04265f8 commit 47ee326
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ describe('ApproveNotificationModalComponent', () => {
it('should create approve modal', async () => {
await renderApproveModal(NotificationStatus.CREATED);
const title = await waitFor(() => screen.getByText('commonInvestigation.modal.approvalTitle'));
const buttonL = await waitFor(() => screen.getByText('actions.cancel'));
const buttonR = await waitFor(() => screen.getByText('actions.confirm'));

expect(title).toBeInTheDocument();
expect(buttonL).toBeInTheDocument();
expect(buttonR).toBeInTheDocument();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export class ApproveNotificationModalComponent {
const options: ModalData = {
title: this.translationContext + '.modal.approvalTitle',
buttonRight: 'actions.confirm',
buttonLeft: 'actions.cancel',

template: this.modal,
onConfirm,
Expand Down

0 comments on commit 47ee326

Please sign in to comment.