Skip to content

Conversation

Paradiesvogel7
Copy link

This pull request adds new documentation to help users leverage NPM packages in the runScript command of Maestro.

Documentation improvements:

  • Added a new guide, advanced/recipes/using-npm-packages-in-runScript.md, explaining how to use NPM packages in Maestro's runScript. The guide includes a sample and usage instructions.

  • Added a new article to community/articles-and-tutorials.md: "End-to-End Testing in React Native with Maestro: Handling Test Data" from me which provides more informatino about the topic of the recipe.

@Fishbowler
Copy link
Collaborator

Whilst I like the addition into the community articles.

I'm unsure about the recipe. It's a deeply technical piece, and depends on a lot of things outside of the Maestro ecosystem. Once it's in the docs, it looks like a first-party supported solution, and that's not the case. I think most people should avoid using npm packages - Maestro is intentionally a high-level test framework. In fact, TOTP is one of the few use cases for this, where the npm package is a valid stand-in for an external user action.

@Paradiesvogel7
Copy link
Author

@Fishbowler I understand you. How about removing the recipe and just add the article to the community section?

@Fishbowler
Copy link
Collaborator

Works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants