diff --git a/packages/devextreme/testing/testcafe/tests/dataGrid/masterDetail.ts b/packages/devextreme/testing/testcafe/tests/dataGrid/masterDetail.ts index a356c6f4a1b0..2aa0fd345a6a 100644 --- a/packages/devextreme/testing/testcafe/tests/dataGrid/masterDetail.ts +++ b/packages/devextreme/testing/testcafe/tests/dataGrid/masterDetail.ts @@ -253,7 +253,7 @@ safeSizeTest('The master detail row should display correctly when renderAsync, v dataGrid._getTemplate = () => ({ render(options) { setTimeout(() => { - if ($(options.container).closest(document).length) { + if ($(options.container).closest(document as any).length) { $(options.container).append($('
').html(`

${options.model.data.id}

${options.model.data.text}