-
Notifications
You must be signed in to change notification settings - Fork 172
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
Add configurable arguments via Behat Contexts. #2025
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REF CIVIC-6614 By passing Context Attributes via configuration we have the option of overriding them for custom settings and test environments.
dkinzer
added a commit
to GetDKAN/dkan_starter
that referenced
this pull request
Jul 23, 2017
REF CIVIC-6614 GetDKAN/dkan#2025 #332 Adds some new build tools to allow sites to override behat cotext attributes with custom settings set in cofig.yml See .ahoy/site/tests/test_config-behat.rb for details of how this works, but the gist of it is you add overriding configurations in config.yml ``` behat: contexts: datasets: defaults: {} fields: {} labels: {} sets: {} services: request_fields_map: {} ``` And this gets incorporated into the various behat.yml settings by running ``` ahoy build config` ``` as per usual.
3 tasks
dkinzer
changed the title
WIP: Add configurable arguments via Behat Contexts.
Add configurable arguments via Behat Contexts.
Jul 26, 2017
dafeder
pushed a commit
that referenced
this pull request
Apr 24, 2020
* Add configurable arguments via Behat Contexts. REF CIVIC-6614 By passing Context Attributes via configuration we have the option of overriding them for custom settings and test environments. * Fix Ruby YAML does not like unquoted % token. * Update tests. * Add fields to ServiceContext. Fix typo in dataset key * Fix behat.yml services params. * Load Dataset context froom ServicesContext via Factory. * Fix datasetContext not available form ServicesContext. * Reformat behat.yml and fix PODContext URL.
dafeder
pushed a commit
that referenced
this pull request
Apr 24, 2020
* Add configurable arguments via Behat Contexts. REF CIVIC-6614 By passing Context Attributes via configuration we have the option of overriding them for custom settings and test environments. * Fix Ruby YAML does not like unquoted % token. * Update tests. * Add fields to ServiceContext. Fix typo in dataset key * Fix behat.yml services params. * Load Dataset context froom ServicesContext via Factory. * Fix datasetContext not available form ServicesContext. * Reformat behat.yml and fix PODContext URL.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
REF CIVIC-6614 GetDKAN/dkan_starter#332
By passing Context Attributes via configuration we have the option of overriding
them for custom settings and test environments.
See GetDKAN/dkan_starter#392 for dkan_starter version of this and more details.