本範例將使用 TestCafe 來測試前端,其中以 React 開發的 To Do List 為例。
- Node: v8.11.4
yarn
或
npm i
- 執行 App
npm start
- 待 App 啟動成功,則可開新終端機執行下列指令
testcafe chrome src/App.e2e.js
npm start
This example will use TestCafe to test the front end, with the To Do List developed by React.
本範例將使用 TestCafe 來測試前端,其中以 React 開發的 To Do List 為例。
yarn
或
npm i
npm start
testcafe chrome src/App.e2e.js
npm start
This example will use TestCafe to test the front end, with the To Do List developed by React.