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

Making new scripts should not require Golden membership #2477

Open
2 tasks done
mstaal opened this issue Jun 18, 2024 · 3 comments
Open
2 tasks done

Making new scripts should not require Golden membership #2477

mstaal opened this issue Jun 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@mstaal
Copy link

mstaal commented Jun 18, 2024

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

When right clicking a folder and selecting New script, a payment pop-up shows up. But the documentation does not claim for scripts to be a payed feature.
image

.bru file to reproduce the bug

No response

Screenshots/Live demo link

https://github.com/usebruno/bruno/assets/3716335/68a2269a-4f21-47ef-b3a5-8065d1892f82

@mstaal mstaal added the bug Something isn't working label Jun 18, 2024
@bpoulaindev
Copy link
Contributor

The paid feature here is the ability to edit the .js script in Bruno. But you can edit it in your own IDE, and require this script in pre/post script or tests without a golden license

@mstaal
Copy link
Author

mstaal commented Jun 18, 2024

@bpoulaindev : Perhaps you could make this clearer. Do you have some documentation on this feature?

@bpoulaindev
Copy link
Contributor

This isn't mentioned in the docs you're right.
You can require a script placed at the root of your collection and require it this way :

const testScript = require('./script.js')

You could also require a script that is nested inside folders in your collection but you would have to specify, require assumes you start at your collection's root.

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

No branches or pull requests

2 participants