-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Re-enable testing with the Drush Behat Endpoint. #506
base: main
Are you sure you want to change the base?
Re-enable testing with the Drush Behat Endpoint. #506
Conversation
Packagist for some reason did not see the 1.1.0 tag right away, so the first run here installed 1.0.0 (which does not have the Drush 9 version). Oh, come to think of it, this PR will continue to fail until Drush 9.5.0 is released. There are still failures with taxonomy terms in the Pantheon tests. Hopefully I'll have these cleared up soon. |
0c2885a
to
e9e0d26
Compare
I've merged #508 now so coding standards should be passing again. |
@jhedstrom It's getting pretty hard for me to keep track of how everything is installed for these tests. I'm not sure how things are supposed to work here; when I run the commands from the travis.yml locally, then Would it be all right with you if I installed Drupal via drupal-composer/drupal-project instead of drupal/drupal, and include the drupalextension SUT via a Composer path repository? That would make it easier for me to ensure that the Drush Behat Endpoint is installed to drush/Commands & is also in the same autoloader as Drupal and the SUT. |
Note: if you look at the tests here, only look at the ones for Drupal 8 / Drush 9. There's a bug here ATM where Drush 8 tries to load the Drush 9 version of the Drush Behat Endpoint instead of the Drush 8 version, which is why all of the Drupal 7 tests are failing. |
…are failing, though; remove them for now.
OK, taxonomy terms are working again in my other test suite. 🎉 Still need to decide how to differentiate the Drush 9 version of the Drush Behat Endpoint from the Drush 8 version, and make the install steps work here. I think I might convert the Drush 9 version into a module. |
…ding on which version of Drupal we are using.
03443d9
to
8230828
Compare
Hmm, this makes it look like perhaps an old version of the
|
Perhaps. You wanted me to put the It could also have something to do with the fact that I set minimum stability to |
Ah, yes, it should probably be |
Yeah, it's saying:
Maybe I'll try just setting the version constraint to |
I duplicated some installation code from the Drupal 7 case for Drupal 8 and adjusted it, but accidentally left a |
The situation is greatly improved, but I see that there are some failed |
Most tests are passing now. I suspect that all tests will pass once the Drush driver is updated to not use |
@jhedstrom I'm not sure why Travis won't clone from my PR; seems like I've done this sort of thing before (and recently) without a problem. Maybe you can just merge jhedstrom/DrupalDriver#198 and tag a new alpha release. Travis won't clone DrupalDriver PR: https://travis-ci.org/jhedstrom/drupalextension/builds/431459950?utm_source=github_status&utm_medium=notification Most test passing, cache-clear failing: https://travis-ci.org/jhedstrom/drupalextension/builds/431445276?utm_source=github_status&utm_medium=notification |
Restarted the build. |
OMG the tests are green! Probably want to wait for tagged releases in DrupalDriver and Drush before finishing up here and merging. |
I've added a new tagged release (alpha 5). |
"npm test", | ||
"phpspec run -f pretty --no-interaction" | ||
], | ||
"removed-test": [ | ||
"phpcs --standard=./phpcs-drupal-ruleset.xml -p" |
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 bit can be undone now I think.
Now we're just waiting for the Drush release. |
Updated .travis.yml to use the stable release of Drush. Perhaps this is good to go now? |
@@ -27,7 +27,7 @@ | |||
"behat/mink-extension": "~2.0", | |||
"behat/mink-goutte-driver": "~1.0", | |||
"behat/mink-selenium2-driver": "~1.1", | |||
"drupal/drupal-driver": "^2.0.0", | |||
"drupal/drupal-driver": "^2.0.0-alpha5", |
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 should go back to ^2.0.0
I think?
"drupal/drupal-driver": "^2.0.0-alpha5", | |
"drupal/drupal-driver": "^2.0.0", |
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.
To ^2.1.0
now to match master
.
No description provided.