Skip to content

Commit c296f24

Browse files
test: Remove test
1 parent fdefb63 commit c296f24

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/pages/OwnerPage/OnboardingOrg/OnboardingOrg.test.tsx

-15
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { type Mock, vi } from 'vitest'
44

55
import { useLocationParams } from 'services/navigation'
66

7-
import { LOCAL_STORAGE_SHOW_ONBOARDING_CONTAINER } from './constants'
87
import OnboardingOrg from './OnboardingOrg'
98

109
import { OnboardingContainerProvider } from '../OnboardingContainerContext/context'
@@ -46,20 +45,6 @@ describe('OnboardingOrg', () => {
4645
).toBeInTheDocument()
4746
})
4847

49-
it('handles dismiss button click correctly', async () => {
50-
const user = userEvent.setup()
51-
render(<OnboardingOrg />, { wrapper })
52-
53-
// const dismissButton = screen.getByText('Dismiss')
54-
const dismissButton = screen.getByTestId('dismiss-onboarding-org')
55-
expect(dismissButton).toBeInTheDocument()
56-
await user.click(dismissButton)
57-
58-
expect(localStorage.getItem(LOCAL_STORAGE_SHOW_ONBOARDING_CONTAINER)).toBe(
59-
'false'
60-
)
61-
})
62-
6348
it('opens and closes the AppInstallModal', async () => {
6449
const user = userEvent.setup()
6550
render(<OnboardingOrg />, { wrapper })

0 commit comments

Comments
 (0)