We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f569bb commit 87b9078Copy full SHA for 87b9078
src/pages/ProviderEServiceCreatePage/__test__/ProviderEServiceCreate.test.tsx
@@ -0,0 +1,18 @@
1
+import { mockUseJwt, renderWithApplicationContext } from '@/utils/testing.utils'
2
+import ProviderEServiceCreatePage from '../ProviderEServiceCreate.page'
3
+import { screen } from '@testing-library/react'
4
+
5
+mockUseJwt()
6
7
+describe('Provider E-service create page', () => {
8
+ it('Should be visible section', () => {
9
+ renderWithApplicationContext(<ProviderEServiceCreatePage />, {
10
+ withRouterContext: true,
11
+ withReactQueryContext: true,
12
+ })
13
14
+ expect(screen.getByText('create.step1.detailsTitle'))
15
+ expect(screen.getByText('create.step1.delegationSection.title'))
16
+ expect(screen.getByText('create.step1.isSignalHubEnabled.title'))
17
18
+})
0 commit comments