Comments (8)
Thanks for your suggestion. I am really keen to wait for the Appium example soon.
FYI, I just added 2 of the lines below, I can see the video from the allure report.
capabilities: [ { . . . deviceType: "phone", browserName: '', . . . }, ],
from wdio-video-reporter.
@presidenten apologize for the late reply.
Not sure why I cannot use the v4 to do the npm i
I hv reported this issue to the auther
amiya-pattnaik/webdriverIO-with-cucumberBDD#11
Even I tried with another boilerplate project, I am still encountering a similar issue.
https://github.com/michaelguild13/Selenium-WebdriverIO-Mocha-Chai-Boilerplate
Give me some time, I will provide more detail to you.
from wdio-video-reporter.
Please refer to this fork.
https://github.com/xyngfei/wdio-template
FYI, I didn't encounter any issue to execute wdio-template repo and I can see the video from the allure report.
from wdio-video-reporter.
Would you mind forking https://github.com/presidenten/wdio-template and replicating the issue in the test-file so that I may test on a android device here to try to isolate the issue?
All I can see now is that the selenium driver does not seem to take any screenshots after user actions, but I have no clue as to why that is. Having the test case here or a similiar case that is not working would make it easier.
from wdio-video-reporter.
Could you update to v1.4.0 and see if it fixes your problem?
If it doesnt fix it, Would you mind forking https://github.com/presidenten/wdio-template and replicating the issue in the test-file so that I may test on a android device here to try to isolate the issue?
from wdio-video-reporter.
The problem is that those two other boilerplates are using wdio v4 and Im using some hooks and methods that are only present in wdio v5.
If you upgrade them to wdio v5 Im sure it will work. Wdio v5 is scoped under @wdio/
For example:
"@wdio/cli": "^5.9.1",
"@wdio/interface": "^5.7.8",
"@wdio/jasmine-framework": "^5.9.1",
"@wdio/local-runner": "^5.9.1",
"@wdio/selenium-standalone-service": "^5.8.4",
"@wdio/spec-reporter": "^5.8.0",
"@wdio/sync": "^5.9.1",
To upgrade you need to remove npm package webdriverio
and all wdio-*
. Then add the @wdio/*
packages that you need.
Edit: I forgot to mention that the frames for the videos are grabbed after user actions.
These are default JSON-wire commands that leads to a frame grab:
https://github.com/presidenten/wdio-video-reporter/blob/002b91c033d67a53d0e975f785b0813a865b0e37/src/config.js#L33
And here is info on how to add more commands:
https://github.com/presidenten/wdio-video-reporter/blob/master/README.md#advanced-configuration-parameters
Do you feel this issue is resolved, so I can close it?
from wdio-video-reporter.
Under Appium setup guide section, where do I find wdio-config.json file?
If I didn't specify the browserName under the capabilities, I suspect will throw the exception above.
Besides, possible to add a sample how can I capture the appium native APP test?
from wdio-video-reporter.
I have planned that I wil write an extended tutorial on how to get appium up and running.
Until then, with wdio-config.json
I mean this file: https://github.com/presidenten/wdio-template/blob/master/wdio.conf.js
If you dont scope appium-specific capabilities you will get exception because v5 being full w3c compliance. So in these files you need to write appium:deviceType instead of just deviceType.
When I write appium configuration
I mean a json-file that I use to start appium for the device. Appium is does not need the scoping for itself.
from wdio-video-reporter.
Related Issues (20)
- CJS build is broken HOT 7
- When integrated with cucumber, the video is attached but cannot be watched HOT 1
- Getting blank video in Allure report using wdio-video-reporter lib HOT 4
- abortTime exceeded while waiting for videos to exist. videoRenderTimeout triggered before ffmpeg had a chance to wrap up HOT 11
- TypeError: browser.isAlertOpen is not a function while executing test script in Edge browser HOT 4
- Request failed with status 404 due to no such alert: no such alert HOT 25
- [🐛 Bug]: Stoping forerver in cli with message "DevTools listening on ws://127.0.0.1:65229/devtools/browser/..." when using wdio-video-reporter HOT 2
- Add e2e tests to verify integration with Allure reporter works
- Video reporter is not working on new project HOT 4
- remake a package from CommonJS to ES6 (rid out of files with .mjs extension) HOT 3
- [🐛Bug]: Error in console `ENOENT: no such file or directory, open Video-reporter.log` after run tests HOT 7
- Get error ffmpeg when running wdio-video-reporter in jenkins and centos HOT 7
- Video Reporter not working HOT 4
- How to remove logs? HOT 2
- videoRenderTimeout triggered, not all videos finished writing to disk before patching Allure HOT 4
- Videos generated are not attached to an allure report if using Mocha before / beforeEach hooks HOT 1
- Generated videos are incomplete if there are unfulfilled frames HOT 2
- Bypass screenshots when the video reporter is enabled HOT 2
- Frames from a previous test/suite are being added to the next test/suite HOT 2
- Proposal: Add option to only record last failed test when using specFileRetries HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wdio-video-reporter.