Skip to content

Commit

Permalink
Fix f test
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Oct 30, 2023
1 parent 78c9d67 commit 4c0edbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testCafe/questions/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ frameworks.forEach(framework => {
let surveyResult;

await ClientFunction(() => {
document.querySelector("div[aria-label=\"Select File\"]").click = () => { window.chooseFileClickedTest = "yes"; };
document.querySelector("label[aria-label=\"Select File\"]").click = () => { window.chooseFileClickedTest = "yes"; };
})();
await t.pressKey("tab");
await t.pressKey("enter");
Expand Down

0 comments on commit 4c0edbe

Please sign in to comment.