An example of how to use Allure with AskUI and jest to get reporting with step-level-reporting and video-reporting included.
- Install allure
https://github.com/allure-framework/allure2#download
- Install example project's dependencies
# Root folder
npm install-
You need to configure credentials to be able to run the example. See AskUI UI Control Client docs
-
Also the example assumes that you start the AskUI UI Controller manually instead of through the
beforeAllandafterAll(teardown) hooks.
Downloads:
- Windows
- Linux
ℹ️ macOS After installation to
Applicationsremove the quarantine flag with the following command run from a terminal:xattr -d com.apple.quarantine /Applications/askui-ui-controller.app
- Set the environment variable
ASKUI_INFERENCE_SERVER_URLfor your terminal session like this:
export ASKUI_INFERENCE_SERVER_URL=https://inference.askui.com
Tests can be run with:
npm run testallure serve ./allure-results- Github-Pipelines
- Rendered report
- The reporter implementation
- Enabling reporter and videorecording
- testEnvironment configuration for Allure