DevExpress / DevExpress/testcafe-browser-tools
Testcafe screenshot is not working for firefox on Cent os
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 30
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
Scenario :
1] Using frontend-maven-plugin to download node and testcafe in project directory.
2] Running testcafe based tests from Java using xvfb-run command along with node and testcafe using code like :
Runtime.getRuntime().exec()
3] Using .testcaferc.json to add configuration where the screenshot is enabled.
The actual command that is running :
xvfb-run --server-num=43717 --server-args=-screen 0 1024x768x24 {project_root_path}/node/node {project_root_path}/node_modules/testcafe/lib/cli/cli.js 'path:/mnt/jenkins/firefox/firefox-68.1.0esr/firefox/firefox --start-fullscreen' {project_root_path}/src/test/resources/testcafe-test-files/transform-add-and-subtract-time.js
The error while taking the screenshot is :
Warnings (2):
--
Was unable to take a screenshot due to an error.
`Error: Command failed:
{project_root_path}/node_modules/testcafe-browser-tools/bin/linux/glibc-64/screenshot
200002
{project_root_path}/target/screenshots/Add Time.png`
Software versions I am using :
Testcafe version : 1.1.0
FirefoxBinary version: Mozilla Firefox 68.1.0esr
CentOS version : Linux release 7.4.1708 (Core)
Can you please help me in resolving this issue ?
@AndreyBelym
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command shown in the issue with the listed TestCafe, Firefox, and CentOS versions. Inspect the .testcaferc.json screenshot configuration and the browser-tools screenshot executable path. Done means the Firefox run completes without the screenshot warning and produces the requested file under target/screenshots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, java, linux, node.js
- Domain
- operating-systems, testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100