Skip to content

Commit 0444d52

Browse files
change configuration
1 parent 233cb57 commit 0444d52

4 files changed

Lines changed: 98 additions & 96 deletions

File tree

.github/workflows/demos_visual_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
STRATEGY: [screenshots, accessibility]
68+
# STRATEGY: [screenshots, accessibility]
69+
STRATEGY: [screenshots]
6970
THEME: ['generic.light', 'material.blue.light', 'fluent.blue.light']
70-
CONSTEL: [jquery(1/4), jquery(2/4), jquery(3/4), jquery(4/4)]
71+
# CONSTEL: [jquery(1/4), jquery(2/4), jquery(3/4), jquery(4/4)]
72+
CONSTEL: [jquery(1/3), jquery(2/3), jquery(3/3)]
7173
env:
7274
ACCESSIBILITY_TESTCAFE_REPORT_PATH: "accessibility_testcafe_report"
7375

@@ -120,7 +122,6 @@ jobs:
120122
python -m http.server 8080 &
121123
python -m http.server 8081 &
122124
python -m http.server 8082 &
123-
python -m http.server 8083 &
124125
125126
- name: Run TestCafe tests
126127
shell: bash

.github/workflows/demos_visual_tests_frameworks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ jobs:
384384
385385
testcafe:
386386
needs: build-demos
387+
if: contains(github.event.pull_request.labels.*.name, 'force all tests') || github.event_name != 'pull_request'
387388
strategy:
388389
fail-fast: false
389390
matrix:
@@ -506,7 +507,7 @@ jobs:
506507
merge-artifacts:
507508
runs-on: devextreme-shr2
508509
needs: testcafe
509-
if: ${{ failure() }}
510+
if: ${{ always() && needs.testcafe.result == 'failure' }}
510511

511512
steps:
512513
- name: Merge screenshot artifacts

.github/workflows/testcafe_tests.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,20 @@ jobs:
7979
fail-fast: false
8080
matrix:
8181
ARGS: [
82-
{ componentFolder: "accessibility/common", name: "accessibility (1/7)", indices: "1/7" },
83-
{ componentFolder: "accessibility/common", name: "accessibility (2/7)", indices: "2/7" },
84-
{ componentFolder: "accessibility/common", name: "accessibility (3/7)", indices: "3/7" },
85-
{ componentFolder: "accessibility/common", name: "accessibility (4/7)", indices: "4/7" },
86-
{ componentFolder: "accessibility/common", name: "accessibility (5/7)", indices: "5/7" },
87-
{ componentFolder: "accessibility/common", name: "accessibility (6/7)", indices: "6/7" },
88-
{ componentFolder: "accessibility/common", name: "accessibility (7/7)", indices: "7/7" },
89-
{ componentFolder: "accessibility/common", name: "accessibility - material (1/7)", theme: "material.blue.light", indices: "1/7" },
90-
{ componentFolder: "accessibility/common", name: "accessibility - material (2/7)", theme: "material.blue.light", indices: "2/7" },
91-
{ componentFolder: "accessibility/common", name: "accessibility - material (3/7)", theme: "material.blue.light", indices: "3/7" },
92-
{ componentFolder: "accessibility/common", name: "accessibility - material (4/7)", theme: "material.blue.light", indices: "4/7" },
93-
{ componentFolder: "accessibility/common", name: "accessibility - material (5/7)", theme: "material.blue.light", indices: "5/7" },
94-
{ componentFolder: "accessibility/common", name: "accessibility - material (6/7)", theme: "material.blue.light", indices: "6/7" },
95-
{ componentFolder: "accessibility/common", name: "accessibility - material (7/7)", theme: "material.blue.light", indices: "7/7" },
82+
# { componentFolder: "accessibility/common", name: "accessibility (1/7)", indices: "1/7" },
83+
# { componentFolder: "accessibility/common", name: "accessibility (2/7)", indices: "2/7" },
84+
# { componentFolder: "accessibility/common", name: "accessibility (3/7)", indices: "3/7" },
85+
# { componentFolder: "accessibility/common", name: "accessibility (4/7)", indices: "4/7" },
86+
# { componentFolder: "accessibility/common", name: "accessibility (5/7)", indices: "5/7" },
87+
# { componentFolder: "accessibility/common", name: "accessibility (6/7)", indices: "6/7" },
88+
# { componentFolder: "accessibility/common", name: "accessibility (7/7)", indices: "7/7" },
89+
# { componentFolder: "accessibility/common", name: "accessibility - material (1/7)", theme: "material.blue.light", indices: "1/7" },
90+
# { componentFolder: "accessibility/common", name: "accessibility - material (2/7)", theme: "material.blue.light", indices: "2/7" },
91+
# { componentFolder: "accessibility/common", name: "accessibility - material (3/7)", theme: "material.blue.light", indices: "3/7" },
92+
# { componentFolder: "accessibility/common", name: "accessibility - material (4/7)", theme: "material.blue.light", indices: "4/7" },
93+
# { componentFolder: "accessibility/common", name: "accessibility - material (5/7)", theme: "material.blue.light", indices: "5/7" },
94+
# { componentFolder: "accessibility/common", name: "accessibility - material (6/7)", theme: "material.blue.light", indices: "6/7" },
95+
# { componentFolder: "accessibility/common", name: "accessibility - material (7/7)", theme: "material.blue.light", indices: "7/7" },
9696
{ componentFolder: "accessibility/common", name: "accessibility - fluent (1/7)", theme: "fluent.blue.light", indices: "1/7" },
9797
{ componentFolder: "accessibility/common", name: "accessibility - fluent (2/7)", theme: "fluent.blue.light", indices: "2/7" },
9898
{ componentFolder: "accessibility/common", name: "accessibility - fluent (3/7)", theme: "fluent.blue.light", indices: "3/7" },

e2e/testcafe-devextreme/tests/editors/dateRangeBox/calendar.ts

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -461,119 +461,119 @@ test('Selected range if endDate = startDate, currentSelection: startDate', async
461461
}, '#dateRangeBox');
462462
});
463463

464-
test(`End date cell in selected range, rtlEnabled=${rtlEnabled}`, async (t) => {
465-
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
466-
const dateRangeBox = new DateRangeBox('#dateRangeBox');
464+
// test(`End date cell in selected range, rtlEnabled=${rtlEnabled}`, async (t) => {
465+
// const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
466+
// const dateRangeBox = new DateRangeBox('#dateRangeBox');
467467

468-
await t
469-
.click(dateRangeBox.getEndDateBox().input);
468+
// await t
469+
// .click(dateRangeBox.getEndDateBox().input);
470470

471-
const calendar = dateRangeBox.getCalendar();
471+
// const calendar = dateRangeBox.getCalendar();
472472

473-
await t
474-
.click(calendar.getCellByDate('2021/10/24'))
475-
.click(dateRangeBox.getEndDateBox().input)
476-
.hover(calendar.getCellByDate('2021/10/31'));
473+
// await t
474+
// .click(calendar.getCellByDate('2021/10/24'))
475+
// .click(dateRangeBox.getEndDateBox().input)
476+
// .hover(calendar.getCellByDate('2021/10/31'));
477477

478-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is start in row, hover is end view & start row${screenshotPostfix}.png`, { element: '#container' });
478+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is start in row, hover is end view & start row${screenshotPostfix}.png`, { element: '#container' });
479479

480-
await t
481-
.click(calendar.getCellByDate('2021/10/25'))
482-
.click(dateRangeBox.getEndDateBox().input)
483-
.hover(calendar.getCellByDate('2021/11/01'));
480+
// await t
481+
// .click(calendar.getCellByDate('2021/10/25'))
482+
// .click(dateRangeBox.getEndDateBox().input)
483+
// .hover(calendar.getCellByDate('2021/11/01'));
484484

485-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is cell inside row, hover is start in view${screenshotPostfix}.png`, { element: '#container' });
485+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is cell inside row, hover is start in view${screenshotPostfix}.png`, { element: '#container' });
486486

487-
await t
488-
.click(calendar.getCellByDate('2021/10/30'))
489-
.click(dateRangeBox.getEndDateBox().input)
490-
.hover(calendar.getCellByDate('2021/11/30'));
487+
// await t
488+
// .click(calendar.getCellByDate('2021/10/30'))
489+
// .click(dateRangeBox.getEndDateBox().input)
490+
// .hover(calendar.getCellByDate('2021/11/30'));
491491

492-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is end cell row, hover is end in view${screenshotPostfix}.png`, { element: '#container' });
492+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is end cell row, hover is end in view${screenshotPostfix}.png`, { element: '#container' });
493493

494-
await t
495-
.click(calendar.getCellByDate('2021/10/31'))
496-
.click(dateRangeBox.getEndDateBox().input)
497-
.hover(calendar.getCellByDate('2021/11/21'));
494+
// await t
495+
// .click(calendar.getCellByDate('2021/10/31'))
496+
// .click(dateRangeBox.getEndDateBox().input)
497+
// .hover(calendar.getCellByDate('2021/11/21'));
498498

499-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is end in view & start row, hover is start row${screenshotPostfix}.png`, { element: '#container' });
499+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is end in view & start row, hover is start row${screenshotPostfix}.png`, { element: '#container' });
500500

501-
await t
502-
.click(calendar.getCellByDate('2021/11/01'))
503-
.click(dateRangeBox.getEndDateBox().input)
504-
.hover(calendar.getCellByDate('2021/11/21'));
501+
// await t
502+
// .click(calendar.getCellByDate('2021/11/01'))
503+
// .click(dateRangeBox.getEndDateBox().input)
504+
// .hover(calendar.getCellByDate('2021/11/21'));
505505

506-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is start in view, hover is end in row${screenshotPostfix}.png`, { element: '#container' });
506+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is start in view, hover is end in row${screenshotPostfix}.png`, { element: '#container' });
507507

508-
await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 11, 15));
508+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 11, 15));
509509

510-
await t
511-
.click(calendar.getCellByDate('2021/12/31'))
512-
.click(dateRangeBox.getEndDateBox().input);
510+
// await t
511+
// .click(calendar.getCellByDate('2021/12/31'))
512+
// .click(dateRangeBox.getEndDateBox().input);
513513

514-
await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 12, 15));
514+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 12, 15));
515515

516-
await t
517-
.hover(calendar.getCellByDate('2022/01/01'));
516+
// await t
517+
// .hover(calendar.getCellByDate('2022/01/01'));
518518

519-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is end in view, hover is start view & end row${screenshotPostfix}.png`, { element: '#container' });
519+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is end in view, hover is start view & end row${screenshotPostfix}.png`, { element: '#container' });
520520

521-
await t
522-
.click(calendar.getCellByDate('2022/01/01'))
523-
.click(dateRangeBox.getEndDateBox().input);
521+
// await t
522+
// .click(calendar.getCellByDate('2022/01/01'))
523+
// .click(dateRangeBox.getEndDateBox().input);
524524

525-
await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 12, 15));
525+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 12, 15));
526526

527-
await t
528-
.hover(calendar.getCellByDate('2022/01/25'));
527+
// await t
528+
// .hover(calendar.getCellByDate('2022/01/25'));
529529

530-
await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 12, 15));
530+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2021, 12, 15));
531531

532-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is start view & end cell row, hover inside row${screenshotPostfix}.png`, { element: '#container' });
532+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is start view & end cell row, hover inside row${screenshotPostfix}.png`, { element: '#container' });
533533

534-
await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 3, 15));
534+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 3, 15));
535535

536-
await t
537-
.hover(calendar.getCellByDate('2022/04/30'));
536+
// await t
537+
// .hover(calendar.getCellByDate('2022/04/30'));
538538

539-
await testScreenshot(t, takeScreenshot, `DRB range, hover is end in view & end cell row${screenshotPostfix}.png`, { element: '#container' });
539+
// await testScreenshot(t, takeScreenshot, `DRB range, hover is end in view & end cell row${screenshotPostfix}.png`, { element: '#container' });
540540

541-
await t
542-
.click(calendar.getCellByDate('2022/04/30'))
543-
.click(dateRangeBox.getEndDateBox().input);
541+
// await t
542+
// .click(calendar.getCellByDate('2022/04/30'))
543+
// .click(dateRangeBox.getEndDateBox().input);
544544

545-
await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 2, 15));
546-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is end in view & end cell row${screenshotPostfix}.png`, { element: '#container' });
545+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 2, 15));
546+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is end in view & end cell row${screenshotPostfix}.png`, { element: '#container' });
547547

548-
await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 3, 15));
548+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 3, 15));
549549

550-
await t
551-
.hover(calendar.getCellByDate('2022/05/01'));
550+
// await t
551+
// .hover(calendar.getCellByDate('2022/05/01'));
552552

553-
await testScreenshot(t, takeScreenshot, `DRB range, hover is start in view & start in row${screenshotPostfix}.png`, { element: '#container' });
553+
// await testScreenshot(t, takeScreenshot, `DRB range, hover is start in view & start in row${screenshotPostfix}.png`, { element: '#container' });
554554

555-
await t
556-
.click(calendar.getCellByDate('2022/05/01'))
557-
.click(dateRangeBox.getEndDateBox().input);
555+
// await t
556+
// .click(calendar.getCellByDate('2022/05/01'))
557+
// .click(dateRangeBox.getEndDateBox().input);
558558

559-
await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 3, 15));
559+
// await dateRangeBox.getCalendar().option('currentDate', new Date(2022, 3, 15));
560560

561-
await testScreenshot(t, takeScreenshot, `DRB range, endDate is start in view & start in row${screenshotPostfix}.png`, { element: '#container' });
561+
// await testScreenshot(t, takeScreenshot, `DRB range, endDate is start in view & start in row${screenshotPostfix}.png`, { element: '#container' });
562562

563-
await t
564-
.expect(compareResults.isValid())
565-
.ok(compareResults.errorMessages());
566-
}).before(async () => {
567-
await appendElementTo('#container', 'div', 'dateRangeBox');
568-
await setAttribute('#container', 'style', 'width: 800px; height: 500px; padding-top: 10px;');
563+
// await t
564+
// .expect(compareResults.isValid())
565+
// .ok(compareResults.errorMessages());
566+
// }).before(async () => {
567+
// await appendElementTo('#container', 'div', 'dateRangeBox');
568+
// await setAttribute('#container', 'style', 'width: 800px; height: 500px; padding-top: 10px;');
569569

570-
return createWidget('dxDateRangeBox', {
571-
value: [new Date(2021, 9, 17), new Date(2021, 9, 23)],
572-
openOnFieldClick: true,
573-
rtlEnabled,
574-
width: 500,
575-
}, '#dateRangeBox');
576-
});
570+
// return createWidget('dxDateRangeBox', {
571+
// value: [new Date(2021, 9, 17), new Date(2021, 9, 23)],
572+
// openOnFieldClick: true,
573+
// rtlEnabled,
574+
// width: 500,
575+
// }, '#dateRangeBox');
576+
// });
577577
});
578578

579579
test('Cell in range', async (t) => {

0 commit comments

Comments
 (0)