-
Notifications
You must be signed in to change notification settings - Fork 3
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
Test js behat #141
Merged
Merged
Test js behat #141
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a49413d
Add docker compose chrome yaml file.
2104f7a
Modified the behat.yml file.
14f963c
Add behat and other modules.
fae6bc0
Add js behat test file that tests the core js function.
10dd77e
Config the behat.yml file for headless chrome with js behat test.
de99561
Delete the genesis/behat-fail-aid package for behat test.
fa5185b
Start google chrome on Circle
agentrickard e0842e5
Try again
agentrickard b401850
Add debug
agentrickard f468b30
try the drush php server
agentrickard f909ed6
Try to start the port?
agentrickard 0bf2a37
Try selenium on Circle
agentrickard 037ef7b
Remove selenium test
agentrickard e5b464a
Try adding 'chrome' as browser for selenuim
iajon fde8dda
Add DMore/ChromeExtension to behat.yml
iajon 3e93134
Try changing port
iajon fcd12b5
change selenium URL and use Drupal MinkExtension on CircleCI
byrond 58e7868
test with the headless-chrome branch of the-build
byrond d4c0f66
remove composer.lock
byrond 7604484
Remove behat.yml from project root
iajon 0c57c4a
Change the-build version constraint; remove debugging from .circleci/…
iajon 44a7f4b
Restore the nohup command
agentrickard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,8 +99,6 @@ jobs: | |
- run: | ||
name: Run Behat tests | ||
command: | | ||
nohup php -S ${CIRCLE_PROJECT_REPONAME}.local:8000 -t $(pwd)/web/ > /tmp/artifacts/phpd.log 2>&1 & | ||
google-chrome --version | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This we can delete |
||
google-chrome --headless --remote-debugging-port=9222 &>/dev/null & | ||
vendor/bin/behat --profile=circleci --suite=default --strict --format=junit --out=/tmp/artifacts | ||
- store_artifacts: | ||
|
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
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.
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.
We need this
nohup
command to start the web server