Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 5eb8e41

Browse files
committed
chore: design fix
1 parent 127d70a commit 5eb8e41

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/features/dashboard/components/Dialogs/RegisterAppDialogSuccess/register-app-dialog-success.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
.buttonWrapper {
2828
display: flex;
29-
justify-content: flex-end;
29+
justify-content: center;
3030
padding: rem(2.4);
3131
gap: rem(0.8);
3232
@media (max-width: 768px) {

src/features/dashboard/register-app/__tests__/register-app.test.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ const fakeApp: ApplicationObject = {
9999
};
100100

101101
describe('Update App Dialog', () => {
102-
const mockOnClose = jest.fn();
103-
104102
let wsServer: WS;
105103

106104
beforeEach(async () => {
@@ -198,11 +196,7 @@ describe('Update App Dialog', () => {
198196
req_id: 1,
199197
});
200198

201-
const successDialogContent = await screen.findByText(
202-
'You have successfully registered your application. You can now start using Deriv API.',
203-
);
204-
expect(successDialogContent).toBeInTheDocument();
205-
expect(successDialogContent).toBeVisible();
199+
expect(screen.getByText('App information')).toBeInTheDocument();
206200
});
207201

208202
it('Should render error on error response', async () => {

0 commit comments

Comments
 (0)