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

Docs: Incorrect Documentation #1244

Open
3 of 4 tasks
kr-keshav-kk opened this issue Nov 18, 2024 · 2 comments
Open
3 of 4 tasks

Docs: Incorrect Documentation #1244

kr-keshav-kk opened this issue Nov 18, 2024 · 2 comments
Labels
bug 🐛 Something isn't working needs triaging ⏳

Comments

@kr-keshav-kk
Copy link

🔎 Have you searched existing issues to avoid duplicates?

  • I have made sure that my issue is not a duplicate.

🧪 Have you tested your code using latest version of Synpress?

💡 Are you able to provide enough information to be able to reproduce your issue locally?

  • I can provide enough details to reproduce my issue on local environment.

Synpress version

4.0.3

Node.js version

22.11.0

Operating system

15.0

Run mode

Playwright + Synpress (as plugin)

CI platform (if applicable)

No response

Are you running your tests inside docker? (if applicable)

  • This issue could be related to docker.

What happened?

Docs are outdated
https://docs.synpress.io/docs/setup-playwright

import { MetaMask } from "@synthetixio/synpress";
-> Metamask is not define in synthetixio/synpress

import {
testWithSynpress,
MetaMask,
unlockForFixture,
} from "@synthetixio/synpress";
-> unlockForFixture is also not defined in synthetixio/synpress

What is your expected behavior?

Please update the docs.

How to reproduce the bug.

Just look at the docs and the synpress example docs

Relevant log output

No response

@kr-keshav-kk kr-keshav-kk added bug 🐛 Something isn't working needs triaging ⏳ labels Nov 18, 2024
@kr-keshav-kk kr-keshav-kk changed the title [🐛 Bug]: <title> Incorrect Documentation Docs: Incorrect Documentation Nov 18, 2024
@SssSxxS
Copy link

SssSxxS commented Nov 21, 2024

import { MetaMask, unlockForFixture } from "@synthetixio/synpress/playwright"

@kr-keshav-kk
Copy link
Author

thanks @SssSxxS . But i think the docs should be updated with these new changes. This old docs is misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working needs triaging ⏳
Projects
None yet
Development

No branches or pull requests

2 participants