Skip to content

Commit 145b006

Browse files
committed
updated data test ids for easier testing
1 parent 6c479ef commit 145b006

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/views/consent/DynamicDisclosure.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export const DynamicDisclosure = React.forwardRef<any, DynamicDisclosureProps>(
130130

131131
const footer = (
132132
<Button
133+
data-test="consent-button"
133134
disabled={isButtonDisabled}
134135
fullWidth={true}
135136
onClick={() => {
@@ -227,6 +228,7 @@ export const DynamicDisclosure = React.forwardRef<any, DynamicDisclosureProps>(
227228
)}
228229
{!['en-us', 'en-ca'].includes(initialLocal) ? (
229230
<Link
231+
data-test="translation-button"
230232
onClick={() => {
231233
const locale = getLocale()
232234

0 commit comments

Comments
 (0)