diff --git a/.github/workflows/testcafe_tests.yml b/.github/workflows/testcafe_tests.yml index 1c7167fab625..71f158b36390 100644 --- a/.github/workflows/testcafe_tests.yml +++ b/.github/workflows/testcafe_tests.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest outputs: should-run: ${{ steps.check.outputs.should-run }} - styles-changed: ${{ steps.changes.outputs.styles }} + styles-changed: ${{ steps.changes.outputs.styles == 'true' || contains(github.event.pull_request.labels.*.name, 'force all tests') }} steps: - uses: actions/checkout@v6 - name: Check RUN_TESTS flag diff --git a/e2e/testcafe-devextreme/tests/accessibility/scheduler/appointment.ts b/e2e/testcafe-devextreme/tests/accessibility/scheduler/appointment.ts index 6a7727e2871a..ac623c5e56dd 100644 --- a/e2e/testcafe-devextreme/tests/accessibility/scheduler/appointment.ts +++ b/e2e/testcafe-devextreme/tests/accessibility/scheduler/appointment.ts @@ -1,4 +1,5 @@ import Scheduler from 'devextreme-testcafe-models/scheduler'; +import { Selector } from 'testcafe'; import { a11yCheck } from '../../../helpers/accessibility/utils'; import { createWidget } from '../../../helpers/createWidget'; import url from '../../../helpers/getPageUrl'; @@ -180,6 +181,10 @@ const appointmentTemplate = ({ appointmentData }) => `
${appointmentData.tex .expect(recurrenceIcon.getAttribute('aria-label')) .eql('Recurring appointment'); + if (currentView === 'month') { + await t.hover(Selector('.dx-scheduler-date-table-other-month')); + } + await a11yCheck(t, a11yCheckConfig, '#container'); }).before(async () => { await createWidget('dxScheduler', { diff --git a/e2e/testcafe-devextreme/tests/accessibility/scheduler/scheduler.ts b/e2e/testcafe-devextreme/tests/accessibility/scheduler/scheduler.ts index 7ba23fe3582b..5a6527c72daa 100644 --- a/e2e/testcafe-devextreme/tests/accessibility/scheduler/scheduler.ts +++ b/e2e/testcafe-devextreme/tests/accessibility/scheduler/scheduler.ts @@ -1,4 +1,5 @@ import Scheduler from 'devextreme-testcafe-models/scheduler'; +import { Selector } from 'testcafe'; import { a11yCheck } from '../../../helpers/accessibility/utils'; import { createWidget } from '../../../helpers/createWidget'; import url from '../../../helpers/getPageUrl'; @@ -40,6 +41,8 @@ test('Scheduler table elements have right aria attributes', async (t) => { ).eql('true'); } + await t.hover(Selector('.dx-scheduler-date-table-other-month')); + await a11yCheck(t, a11yCheckConfig, '#container'); }).before(async () => { await createWidget('dxScheduler', {