-
Notifications
You must be signed in to change notification settings - Fork 113
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
Invalid scenario file #93
Comments
Update: when the file is extracted from the project's folder, memlab works. But should memlab be able to run code inside the project's codebase? |
The scenario file doesn't define |
same issue. |
Do not forget about the module.exports = {
url: ...
// do not forget about the `page` parameter here
action: async (page) => { ... }
// same
back: async (page) => { ... }
} |
OP's code has forgotten the |
@mrdulin To help understand and investigate the issue, can you share the steps to reproduce the issue you got? E.g., what the scenario file looked like, how you run the scenario file, and the error message. |
I was also facing the same issue. By removing the |
Alternatively, the issue can also be resolved by renaming |
``Hello, I'm trying to test memlab for a project. While following the tutorial it worked, but now when trying to run a scenario in my project. The error
Invalid scenario file: .\tests\test.js
comes up. Context: I placed the `scenario.js` file inside `/src/test` folders.Here is my scenario:
Could someone put me in the right direction here on how to get memlab up and running?
The text was updated successfully, but these errors were encountered: