Skip to content

Commit 0f1fc73

Browse files
authored
CardView: Replace public image URLs with local URLs for TestCafe tests (#31443)
1 parent e48fc6d commit 0f1fc73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

e2e/testcafe-devextreme/tests/accessibility/cardView/cover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test('default render', async (t) => {
1414
height: 600,
1515
columns: ['Customer', 'Order Date'],
1616
cardCover: {
17-
imageExpr: (data) => data.Picture && `https://js.devexpress.com/jQuery/Demos/WidgetsGallery/JSDemos/${data.Picture}`,
17+
imageExpr: (data) => data.Picture && `../../../apps/demos/${data.Picture}`,
1818
altExpr: 'FirstName',
1919
},
2020
dataSource: [{

e2e/testcafe-devextreme/tests/cardView/cover.visual.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test('default render', async (t) => {
2323
height: 600,
2424
columns: ['Customer', 'Order Date'],
2525
cardCover: {
26-
imageExpr: (data) => data.Picture && `https://js.devexpress.com/jQuery/Demos/WidgetsGallery/JSDemos/${data.Picture}`,
26+
imageExpr: (data) => data.Picture && `../../../apps/demos/${data.Picture}`,
2727
altExpr: 'FirstName',
2828
},
2929
dataSource: [{

0 commit comments

Comments
 (0)