Skip to content

Commit

Permalink
add day 14 Code, TestCafe Example Page Test
Browse files Browse the repository at this point in the history
  • Loading branch information
smalltide committed Sep 30, 2019
1 parent 6392e93 commit a616f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions day14/TestCafeExamplePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ test("Example Page Test", async t => {
.click(supportRemoteBox)
// 4. 透過預定義的 selector macOSRadio 選擇 MacOS
.click(macOSRadio)
// 5. 透過預定義的 selector interfaceSelect,按下選單彈出選項
// 5.1 透過預定義的 selector interfaceSelect,按下選單彈出選項
.click(interfaceSelect)
// 5. 使用 TestCafe 鏈式 Selector API,找到 interfaceSelect 下的 Both Option
// 5.2 使用 TestCafe 鏈式 Selector API,找到 interfaceSelect 下的 Both Option
.click(interfaceSelect.find("option").withText("Both"))
// 6. 按下 Submit 按鈕
.click("#submit-button")
Expand Down

0 comments on commit a616f0d

Please sign in to comment.