mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
keep the terms notice test aligned with its dismissal action
This commit is contained in:
1 parent
9223489ad3
commit
4e686dfe56
1 file changed
+1
-1
@@ -34,7 +34,7 @@ describe('BannerTermsOfServiceUpdate', () => {
|
||||
'https://supabase.com/terms'
|
||||
)
|
||||
expect(localStorage.getItem(LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_UPDATE)).toBeNull()
|
||||
await user.click(screen.getByRole('button', { name: 'Understood' }))
|
||||
await user.click(screen.getByRole('button', { name: 'Got it' }))
|
||||
await waitFor(() =>
|
||||
expect(localStorage.getItem(LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_UPDATE)).toBe('true')
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user