Skip to content

Autocomplete random variables #4695

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

sanjaikumar-bruno
Copy link
Contributor

@sanjaikumar-bruno sanjaikumar-bruno commented May 16, 2025

Demo

Screen.Recording.2025-05-27.at.15.29.58.mov

BRU-865

@sanjaikumar-bruno sanjaikumar-bruno marked this pull request as ready for review May 19, 2025 09:45
rsxc and others added 4 commits May 21, 2025 20:01
* adding dynamic variable support

* update deprecated methods

* update faker
feat: add mock data generation functions using faker.js

refactor: remove interpolateRandom function and integrate random value interpolation into interpolateVars

feat: add randomIPv4 function and fix randomCreditCardMask implementation

refactor: simplify variable interpolation by integrating mock variable handling

refactor: interpolation logic.

feat: add mock variable suggestions

fixed formatting

refactored code to reduce duplications

Refactor mock variable handling by replacing mockVarsNames with mockDataFunctions and removing unused files

Remove @faker-js/faker dependency from bruno-electron/package.json
test working

added package-lock.json

Update jest.config.js to include transformIgnorePatterns and uncomment setupFiles
@sanjaikumar-bruno sanjaikumar-bruno force-pushed the add-tests-for-autocomplete-random-variables branch from 6148c7e to cfb38ef Compare May 21, 2025 16:29
@naman-bruno
Copy link
Collaborator

Random variables are not correctly highlighted as valid (green).

Screenshot 2025-05-23 at 1 40 31 PM

@helloanoop helloanoop changed the title Add tests for autocomplete random variables Autocomplete random variables May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants