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

Disable step bystep screenshot after fail #3119

Merged

Conversation

ioannisChalkias
Copy link
Contributor

@ioannisChalkias ioannisChalkias commented Nov 5, 2021

Motivation/Description of the PR

  • The stepByStep plugin takes screenshots on every step of the scenario even if the scenario failed it will append the last screenshot to every step after the failing point. So i added a new config option which turn off the saving and in effect the appeding after the failing point.
  • Resolves #issueId (if applicable).

Applicable helpers:

  • WebDriver
  • Puppeteer
  • Nightmare
  • REST
  • FileHelper
  • Appium
  • Protractor
  • TestCafe
  • Playwright

Applicable plugins:

  • allure
  • autoDelay
  • autoLogin
  • customLocator
  • pauseOnFail
  • coverage
  • retryFailedStep
  • screenshotOnFail
  • selenoid
  • stepByStepReport
  • stepTimeout
  • wdio
  • subtitles

Type of change

  • 🔥 Breaking changes
  • 🚀 New functionality
  • 🐛 Bug fix
  • 📋 Documentation changes/updates
  • ♨️ Hot fix
  • 🔨 Markdown files fix - not related to source code
  • 💅 Polish code

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)

retyui and others added 4 commits October 8, 2021 02:29
I've made a few improvements grammatically and made the content more clear in the 1st point under Codecept Tests.
I've also made a few changes both grammatically and removed spelling errors in the description of the Detox Library
Please let me know if I can make more improvements
Copy link
Contributor

@DavertMik DavertMik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, makes sense. Should we change default?

lib/plugin/stepByStepReport.js Outdated Show resolved Hide resolved
Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and please resolve conflicts

.github/PULL_REQUEST_TEMPLATE.md Outdated Show resolved Hide resolved
lib/plugin/stepByStepReport.js Show resolved Hide resolved
@Arhell Arhell removed their request for review November 10, 2021 10:16
@DavertMik
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

6 participants