fix(test): match RGPD info text 'stockage local'
This commit is contained in:
1 parent
2a5954e8e9
commit
f932ecb060
1 file changed
+1
-1
@@ -13,7 +13,7 @@ describe('RgpdInfo', () => {
|
|||||||
render(<RgpdInfo open onClose={vi.fn()} />)
|
render(<RgpdInfo open onClose={vi.fn()} />)
|
||||||
|
|
||||||
expect(screen.getByRole('dialog', { name: 'Protection des données (RGPD)' })).toBeInTheDocument()
|
expect(screen.getByRole('dialog', { name: 'Protection des données (RGPD)' })).toBeInTheDocument()
|
||||||
expect(screen.getByText('localStorage', { exact: false })).toBeInTheDocument()
|
expect(screen.getByText(/stockage local/i)).toBeInTheDocument()
|
||||||
expect(
|
expect(
|
||||||
screen.getByText(/ne sont jamais partagées avec des tiers/i),
|
screen.getByText(/ne sont jamais partagées avec des tiers/i),
|
||||||
).toBeInTheDocument()
|
).toBeInTheDocument()
|
||||||
|
|||||||
Reference in new issue
Block a user