Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): show environment info in verbose mode #3858

Merged
merged 3 commits into from
Sep 15, 2023

Conversation

kobenguyent
Copy link
Collaborator

Motivation/Description of the PR

  • It would be more convenient to show environment info when running tests with verbose mode.
 Environment information:-

codeceptVersion:  "3.5.4"
nodeInfo:  18.16.0
osInfo:  macOS 13.5
cpuInfo:  (8) arm64 Apple M1 Pro
chromeInfo:  116.0.5845.179
edgeInfo:  116.0.1938.69
firefoxInfo:  Not Found
safariInfo:  16.6
helpers:  {
 "Playwright": {
  "url": "https://github.com",
  "show": false,
  "browser": "chromium",
  "waitForNavigation": "load",
  "waitForTimeout": 30000,
  "trace": false,
  "keepTraceForPassedTests": true
 },
 "CDPHelper": {
  "require": "./helpers/CDPHelper.ts"
 },
 "OpenAI": {
  "chunkSize": 8000
 },
 "ExpectHelper": {
  "require": "codeceptjs-expect"
 },
 "REST": {
  "endpoint": "https://reqres.in",
  "timeout": 20000
 },
 "AllureHelper": {
  "require": "./helpers/AllureHelper.ts"
 }
}
plugins:  {
 "screenshotOnFail": {
  "enabled": true
 },
 "tryTo": {
  "enabled": true
 },
 "retryFailedStep": {
  "enabled": true
 },
 "retryTo": {
  "enabled": true
 },
 "eachElement": {
  "enabled": true
 },
 "pauseOnFail": {}
}
***************************************
If you have questions ask them in our Slack: http://bit.ly/chat-codeceptjs
Or ask them on our discussion board: https://codecept.discourse.group/
Please copy environment info when you report issues on GitHub: https://github.com/Codeception/CodeceptJS/issues
***************************************
CodeceptJS v3.5.4 #StandWithUkraine

Type of change

  • 🚀 New functionality

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@Arhell Arhell requested a review from DavertMik September 10, 2023 00:31
@DavertMik
Copy link
Contributor

Thanks, makes much sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants