Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.06 KB

File metadata and controls

37 lines (24 loc) · 1.06 KB

日本語版 Readme はこちらをご参照ください。

This repository is a template to execute test scripts generated by LatteArt.

This uses the testing framework WebdriverIO.

Setup

  • Install Node.js version 16 or later.
  • Put test.spec.js, page_objects, and test_data into the root directory, which are automatically generated by LatteArt.
  • Execute npm install
    • Install Python if requested.

Test Execution

npm run test

Run in headless mode of Google Chrome

Uncomment the following in wdio.conf.js.

//   "goog:chromeOptions": {
//     args: ["--headless", "--disable-gpu"]
//   }

Show Test Report

npm run report

Install Java if requested.

This outputs test results using the Allure Framework. Test results are accumulated and displayed as graphs. In case of a test failure, a screenshot will be taken automatically. The screenshot can be seen from the bottom of the "Execution" column in the "Overview" of each test case.