How to use re-run service in webdriverio? #6878
Replies: 6 comments 10 replies
-
Hi @yiyef did you get how to use re-run service I have webdriverio project for automating web app in mobile browser, and I have used Appium, Jasmin and JavaScript as scripting language. |
Beta Was this translation helpful? Give feedback.
-
Maybe @esaari can elaborate on this? |
Beta Was this translation helpful? Give feedback.
-
The rerun will not happen automatically. A |
Beta Was this translation helpful? Give feedback.
-
Can't you just use specFileRetries in wdio.conf? I think this package is obsolete now. |
Beta Was this translation helpful? Give feedback.
-
Hi , |
Beta Was this translation helpful? Give feedback.
-
FYI, I enabled the discussions board within the rerun project itself: https://github.com/webdriverio-community/wdio-rerun-service/discussions I kindly request that any current or future discussions happen there, as it will be easier for the maintainers to engage and provide help. |
Beta Was this translation helpful? Give feedback.
-
I read from this doc: https://webdriver.io/docs/wdio-rerun-service/, that the rerun service is what I need to rerun the whole process when a test fails. I installed the rerun service and insert this in my code
const RerunService = require('wdio-rerun-service');
export.config = {
// ...
services: [RerunService, {}],
// ...
};
but I can not find out how to insert the rerun in my testing files, would sb help me with this? Thank you so much
Beta Was this translation helpful? Give feedback.
All reactions