Skip to content

Commit

Permalink
Merge pull request #342 from catenax-ng/main
Browse files Browse the repository at this point in the history
Fix UI button
  • Loading branch information
ds-mwesener authored Nov 13, 2023
2 parents 5f5abe6 + 40f6b73 commit 5398ce8
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 5398ce8

Please sign in to comment.