Skip to content

latteart-org/test_script_runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

日本語版 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.

About

Template to execute test scripts generated by LatteArt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •