diff --git a/package.json b/package.json index f992e02544..db277ad3f8 100644 --- a/package.json +++ b/package.json @@ -156,7 +156,7 @@ "style-loader": "^1.2.1", "surveyjs-doc-generator": "git+https://github.com/surveyjs/surveyjs-doc-generator.git", "svg-inline-loader": "^0.8.2", - "testcafe": "~2.6.2", + "testcafe": "3.3.0", "ts-jest": "^26.1.1", "ts-loader": "^8.0.15", "ts-node": "3.3.0", diff --git a/testCafe/questions/dropdown.js b/testCafe/questions/dropdown.js index ff54b9dc16..8b7d6cbf7b 100644 --- a/testCafe/questions/dropdown.js +++ b/testCafe/questions/dropdown.js @@ -540,7 +540,8 @@ frameworks.forEach((framework) => { .click("option[value=Volkswagen]") .click("select") - .expect(Selector("option[value=Vauxhall]").hasAttribute("disabled")).ok(); + .expect(Selector("option[value=Vauxhall]").hasAttribute("disabled")).ok() + .click("select"); const questionDropdownSelect = Selector(".sv_q_dropdown_control").nth(1); const popupContainer = Selector(".sv-popup__container").filterVisible();