Skip to content

Commit

Permalink
Accessibility: Reduce the number of testAccessibility configurations
Browse files Browse the repository at this point in the history
Co-authored-by: marker dao ® <[email protected]>
  • Loading branch information
marker-dao and marker dao ® authored May 3, 2024
1 parent 10cd4ac commit e499777
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion e2e/testcafe-devextreme/tests/accessibility/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const now = new Date().getTime();

const options: Options<Properties> = {
name: ['', 'name'],
firstDayOfWeek: [0, 1],
hint: [undefined, 'hint'],
disabled: [true, false],
readOnly: [true, false],
Expand Down
2 changes: 1 addition & 1 deletion e2e/testcafe-devextreme/tests/accessibility/checkBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fixture.disablePageReloads`Accessibility`

const options: Options<Properties> = {
value: [true, false, null],
enableThreeStateBehavior: [true, false],
enableThreeStateBehavior: [true],
disabled: [true, false],
readOnly: [true, false],
name: ['', 'name'],
Expand Down
5 changes: 0 additions & 5 deletions e2e/testcafe-devextreme/tests/accessibility/dateRangeBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ const options: Options<Properties> = {
opened: [true, false],
showClearButton: [true, false],
showDropDownButton: [true, false],
disableOutOfRangeSelection: [true, false],
useMaskBehavior: [true, false],
deferRendering: [true, false],
startDatePlaceholder: [undefined, 'startDatePlaceholder'],
endDatePlaceholder: [undefined, 'endDatePlaceholder'],
displayFormat: [undefined, 'EEEE, MMM d'],
applyValueMode: ['instantly', 'useButtons'],
endDateInputAttr: [{ 'aria-label': 'aria-label' }],
startDateInputAttr: [{ 'aria-label': 'aria-label' }],
Expand Down
2 changes: 0 additions & 2 deletions e2e/testcafe-devextreme/tests/accessibility/tabPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ const options: Options<Properties> = {
height: [250, 550],
// NOTE: Doesn't matter if there are contrast issues
// stylingMode: ['primary', 'secondary'],
iconPosition: ['bottom', 'end', 'start', 'top'],
tabsPosition: ['bottom', 'left', 'right', 'top'],
};

const a11yCheckConfig = isMaterialBased() ? {
Expand Down
2 changes: 0 additions & 2 deletions e2e/testcafe-devextreme/tests/accessibility/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ const items: Item[] = [

const options: Options<Properties> = {
dataSource: [items],
rtlEnabled: [true, false],
orientation: ['horizontal', 'vertical'],
// @ts-expect-error private option
selectOnFocus: [true, false],
showNavButtons: [true, false],
Expand Down

0 comments on commit e499777

Please sign in to comment.