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

Mobile APP compatibility 📸 #543

Open
MadeinFrance opened this issue Jul 27, 2023 · 1 comment
Open

Mobile APP compatibility 📸 #543

MadeinFrance opened this issue Jul 27, 2023 · 1 comment
Labels
✨ enhancement New feature or request

Comments

@MadeinFrance
Copy link

My tests are running fine with WebdriverIO but with Nightwatch I got the following error for Percy-NightWatch:

Error   Error while running .executeScript() protocol action: Method is not implemented

[percy:nightwatch] Could not take DOM snapshot "Login"
[percy:nightwatch] Error: Missing required URL for snapshot
it('pass the login', async function (app) {

    // NOT WORKING
    await app.percySnapshot('Login');


    // working with WebdriverIO to snapshot the screen
    await percyScreenshot('Login');
  });
});

Is this custom command compatible/tested with a mobile APP project? See docs: https://nightwatchjs.org/guide/mobile-app-testing/introduction-writing-tests.html

@itsjwala
Copy link
Contributor

hey @MadeinFrance 👋

currently percy-nightwatch repository only supports web app testing and doesn't support native apps.

and thus you won't be able to use percySnapshot from this repo to snapshot mobile apps.

to extend support for native mobile apps, I'll mark this issue as feature request.

@itsjwala itsjwala added the ✨ enhancement New feature or request label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants