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
Pattern dependency feature #1148
base: master
Are you sure you want to change the base?
Pattern dependency feature #1148
Conversation
…a dependency (e.g., if field1 matches this regex, field2 will appear)
…codeceptjs unit that will test for pattern dependency feature'
…ates pattern dependency feature requested in issue 1139
…on-editor into pattern-dependency-feature
…-dependency section of README.
…craig/json-editor into pattern-dependency-feature
There's a little build error, see https://github.com/json-editor/json-editor/runs/6091139969?check_suite_focus=true#step:5:679 |
Sorry about that! We fixed the eslint error and just pushed to this branch again. |
E2E Tests are failing, could you have another look. |
Hello, sorry about the long wait we just added a quick fix for the E2E bud. Can you try building it another time and seeing if the errors persist? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @germanbisurgi please have a second look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- use const instead of var
- use same indentation as other tests
- add a @patttern-dependency tag
- use new codeceptjs syntax (tests will not pass if not)
from
Scenario('Second dependency', (I) => {})
to
Scenario('Second dependency', async ({ I }) => {}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will trigger a merge conflict. It can be omitted because we update the CHANGELOG every time we make a release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works but some issues have to be addressed before we merge this.
I added comments in the single changed files there where changes are needed.
Hello! We (@Yeonhobo and me) finished implementing the feature which was requested in issue 1139 (regex pattern based dependency).
Here are the changes we made:
pattern
keyword for validation and pattern-dependency