Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Ignoring @preview tag in Behat tests (experimental). #570

Merged
merged 4 commits into from
Oct 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ script:
# Create a .travis.yml, just to make sure it works. It won't be executed.
- blt ci:travis:init
- blt ci:pipelines:init
# On 8.x only, run tests in docroot/profiles directory.
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then echo $'behat:\n paths:\n - ${docroot}/profiles\n - ${repo.root}/tests/behat' >> project.yml; fi
# Call targets in the new 'blt-project' project.
- blt ci:build:validate:test -Dcreate_alias=false -Dbehat.run-server=true -Dbehat.launch-phantom=true
# Initialize ACSF config.
Expand Down
4 changes: 2 additions & 2 deletions phing/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ behat:
# An array of paths with behat tests that should be executed.
paths:
# - ${docroot}/modules
- ${docroot}/profiles
# - ${docroot}/profiles
- ${repo.root}/tests/behat
tags: '~ajax'
tags: '~ajax,~experimental,~preview'
verbose: ${blt.verbose}

blt:
Expand Down
3 changes: 2 additions & 1 deletion readme/updating-blt.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ If you are using an older version of BLT that was not installed using Composer,

1. Upgrade to the latest version of BLT:

composer require acquia/blt:^8.3
composer require acquia/blt:^8.3 --no-update
composer update

Review and commit changes to your project files. For customized files like `.travis.yml` or `docroot/sites/default/settings.php` it is recommended that you use `git add -p` to select which specific line changes you'd like to stage and commit.
3 changes: 0 additions & 3 deletions template/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@
},
"drupal/features": {
"Bundle support": "https://www.drupal.org/files/issues/features-2808303-2.patch"
},
"drupal/lightning": {
"Fix failing Behat test for Selenium": "https://www.drupal.org/files/issues/issue-158-selenium-behat-tests.patch"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions template/tests/behat/features/Examples.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Feature: Web drivers
With and without Javascript

@javascript
Scenario: Load a page
Scenario: Load a page with Javascript
Given I am on "/"
Then I should see the text "Log in"

Scenario: Load a page
Scenario: Load a page without Javascript
Given I am on "/"
Then I should see the text "Log in"