79346958

Date: 2025-01-10 20:41:10
Score: 7.5 🚩
Natty:
Report link

In my case, I have only one function and takescreenshot not working. I automated with webdriver io mobile test with appium, and the end for my test, I wanna attach in my reporter the screenshot of my screen.

My code ->

afterTest: async function (test, context, { error, result, duration, passed, retries }) {
        if (passed) {
            await browser.takeScreenshot();

        }
        else {
            await browser.takeScreenshot();
        }
    },

When my test end, not generate my image =/.

My modules

├── @faker-js/[email protected] ├── @types/[email protected] ├── @types/[email protected] ├── @wdio/[email protected] ├── @wdio/[email protected] ├── @wdio/[email protected] ├── @wdio/[email protected] ├── @wdio/[email protected] ├── @wdio/[email protected] ├── @wdio/[email protected] ├── @wdio/[email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected]

enter image description here

anybody can help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): anybody can help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Rafael Bezerra C Silva