File tree 1 file changed +0
-15
lines changed
src/pages/OwnerPage/OnboardingOrg
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { type Mock, vi } from 'vitest'
4
4
5
5
import { useLocationParams } from 'services/navigation'
6
6
7
- import { LOCAL_STORAGE_SHOW_ONBOARDING_CONTAINER } from './constants'
8
7
import OnboardingOrg from './OnboardingOrg'
9
8
10
9
import { OnboardingContainerProvider } from '../OnboardingContainerContext/context'
@@ -46,20 +45,6 @@ describe('OnboardingOrg', () => {
46
45
) . toBeInTheDocument ( )
47
46
} )
48
47
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
-
63
48
it ( 'opens and closes the AppInstallModal' , async ( ) => {
64
49
const user = userEvent . setup ( )
65
50
render ( < OnboardingOrg /> , { wrapper } )
You can’t perform that action at this time.
0 commit comments