From 9e09d0067720e415881ba53d41a1f7dc46c8bf3e Mon Sep 17 00:00:00 2001 From: Joshua Victoria <133762589+jdvictoria@users.noreply.github.com> Date: Tue, 14 May 2024 15:11:20 +0800 Subject: [PATCH] Review fixes --- .../tests/accessibility/drawer.ts | 3 +-- .../tests/accessibility/map.ts | 16 +++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/accessibility/drawer.ts b/e2e/testcafe-devextreme/tests/accessibility/drawer.ts index 0772366212ad..b2ba85854edf 100644 --- a/e2e/testcafe-devextreme/tests/accessibility/drawer.ts +++ b/e2e/testcafe-devextreme/tests/accessibility/drawer.ts @@ -12,9 +12,8 @@ const options: Options = { hint: [undefined, 'hint'], revealMode: ['slide', 'expand'], opened: [true, false], - position: ['top', 'bottom', 'left', 'right'], template: [() => { - const $drawerContent = $('
').width(200).css('background-color', 'aqua').css('height', '100%'); + const $drawerContent = $('
').width(200).css('height', '100%'); return $drawerContent; }], }; diff --git a/e2e/testcafe-devextreme/tests/accessibility/map.ts b/e2e/testcafe-devextreme/tests/accessibility/map.ts index d37e50b75787..f9420eceb5f4 100644 --- a/e2e/testcafe-devextreme/tests/accessibility/map.ts +++ b/e2e/testcafe-devextreme/tests/accessibility/map.ts @@ -6,15 +6,11 @@ import { Options } from '../../helpers/generateOptionMatrix'; fixture.disablePageReloads`Accessibility` .page(url(__dirname, '../container.html')); -const markersData = [{ - location: '40.7825, -73.966111', -}, { - location: [40.755833, -73.986389], -}, { - location: { lat: 40.753889, lng: -73.981389 }, -}, { - location: 'Brooklyn Bridge,New York,NY', -}, +const markersData = [ + { location: '40.7825, -73.966111' }, + { location: [40.755833, -73.986389] }, + { location: { lat: 40.753889, lng: -73.981389 } }, + { location: 'Brooklyn Bridge,New York,NY' }, ]; const options: Options = { @@ -22,8 +18,6 @@ const options: Options = { apiKey: [{ bing: 'Aq3LKP2BOmzWY47TZoT1YdieypN_rB6RY9FqBfx-MDCKjvvWBbT68R51xwbL-AqC', }], - height: [undefined, 400], - width: [undefined, '50%'], hint: [undefined, 'hint'], controls: [true, false], zoom: [undefined, 10],