You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: adding messages for i18n issues related to aria labels
* fix: replacing ternary operator
* refactor: injecting intl object to prevent extra modifications on license details component
* test: fixing failing snapshot test
* chore: best descriptions to aria label and removing aria label not needed
* test: snapshot update and fixing ut
* chore: best descriptions to aria labels
Copy file name to clipboardExpand all lines: src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDetails.jsx
Copy file name to clipboardExpand all lines: src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/__snapshots__/LicenseDetails.test.jsx.snap
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`LicenseDetails snapshots snapshots: renders as expected with default props 1`] =`null`;
3
+
exports[`LicenseDetails snapshots snapshots: renders as expected with default props 1`] =`false`;
4
4
5
5
exports[`LicenseDetails snapshots snapshots: renders as expected with level set to block and license set to Creative Commons 1`] =`
6
6
<div
@@ -40,7 +40,6 @@ exports[`LicenseDetails snapshots snapshots: renders as expected with level set
40
40
</Form.Label>
41
41
<ActionRow.Spacer />
42
42
<CheckboxControl
43
-
aria-label="Checkbox"
44
43
checked={true}
45
44
disabled={true}
46
45
/>
@@ -71,7 +70,6 @@ exports[`LicenseDetails snapshots snapshots: renders as expected with level set
71
70
</Form.Label>
72
71
<ActionRow.Spacer />
73
72
<CheckboxControl
74
-
aria-label="Checkbox"
75
73
disabled={false}
76
74
onChange={[Function]}
77
75
/>
@@ -102,7 +100,6 @@ exports[`LicenseDetails snapshots snapshots: renders as expected with level set
102
100
</Form.Label>
103
101
<ActionRow.Spacer />
104
102
<CheckboxControl
105
-
aria-label="Checkbox"
106
103
disabled={false}
107
104
onChange={[Function]}
108
105
/>
@@ -131,7 +128,6 @@ exports[`LicenseDetails snapshots snapshots: renders as expected with level set
131
128
</Form.Label>
132
129
<ActionRow.Spacer />
133
130
<CheckboxControl
134
-
aria-label="Checkbox"
135
131
disabled={false}
136
132
onChange={[Function]}
137
133
/>
@@ -179,7 +175,7 @@ exports[`LicenseDetails snapshots snapshots: renders as expected with level set
179
175
</div>
180
176
`;
181
177
182
-
exports[`LicenseDetails snapshots snapshots: renders as expected with level set to block and license set to select 1`] =`null`;
178
+
exports[`LicenseDetails snapshots snapshots: renders as expected with level set to block and license set to select 1`] =`false`;
183
179
184
180
exports[`LicenseDetails snapshots snapshots: renders as expected with level set to library 1`] =`
0 commit comments