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

fix: takeOnFails screenshot with fullPage option fixed #8077

Merged
merged 9 commits into from
Nov 22, 2023

Conversation

Bayheck
Copy link
Collaborator

@Bayheck Bayheck commented Nov 13, 2023

Purpose

There is an option for testcaferc configuration file called takeOnFails. The issue here was that the screenshot taken by takeOnFails was not responding to option fullPage. The screenshot was always small.

Approach

I found the place where the fullPage option was not passing. Fixed it by passing fullPage option to TakeScreenshotOnFailCommand.

References

#7761

Pre-Merge TODO

  • Write tests for your proposed changes
  • Make sure that existing tests do not fail

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Nov 13, 2023
@PavelMor25 PavelMor25 removed the STATE: Need response An issue that requires a response or attention from the team. label Nov 13, 2023
Copy link
Collaborator

@Aleksey28 Aleksey28 left a comment

Choose a reason for hiding this comment

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

Please. look at my comment and check the test Should take a screenshot on fail and figure out why it didn't work.

src/test-run/index.ts Outdated Show resolved Hide resolved
src/test-run/index.ts Outdated Show resolved Hide resolved
test/server/test-run-commands-test.js Outdated Show resolved Hide resolved
@aleks-pro aleks-pro merged commit 42926a8 into DevExpress:master Nov 22, 2023
20 checks passed
Copy link

Release v3.5.0-rc.1 addresses this.

1 similar comment
Copy link

Release v3.5.0-rc.1 addresses this.

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

4 participants