spacebase / spacebasenz

Website for SpaceBase New Zealand
http://dev-spacebasenz.pantheonsite.io/
GNU General Public License v2.0
0 stars 0 forks source link

Behat tests can run against platform environments #353

Open treasuretron opened 4 years ago

treasuretron commented 4 years ago

In GitLab by @richbodo on Mar 15, 2019, 05:59

Any developer can run behat tests against development environments, and see the pass/fail results or error messages from that environment.

It is o.k. if not every behat test runs, as this will probably be implemented using drush, which could be considerably different from using a headless browser locally.

treasuretron commented 4 years ago

In GitLab by @richbodo on Mar 26, 2019, 15:59

Drush 9 is the verdict on this one, Stephen. I realize drush will probably perform fewer tests than a full chromedriver, but it should still be able to get the basics.

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 2, 2019, 03:08

mentioned in commit d2beea5ebc759d751052bc531238403ed24120d1

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 2, 2019, 14:38

mentioned in commit 8498d98512970aff6118a4442c093d9020c7ad4c

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 2, 2019, 14:38

mentioned in commit 59f0715f9b886529abb1f008310258543bb6af6e

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 2, 2019, 14:38

mentioned in commit 3bf46dc323d1051a531e675af175d586c25b54f4

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 2, 2019, 21:09

mentioned in commit 36442abf18bf4b8563578896b2f13099c8540d6b

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 3, 2019, 04:01

mentioned in commit c0913ddccf7776282f1d5b2400d993c386e745cf

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 4, 2019, 17:47

@thomasmurphy @richbodo

I've moved the tests from branch 306 here and working on getting them to work.

I used composer remove and composer require on drush/drush. This seems the cleanest way to handle all the dependencies: and it still does mean a composer.lock with lots of changes.

Rich, if you want to write tests, this would be a good branch to add new tests to.

Drush+Platform is still a pain: I thought I had it almost working (the most recently pushed version of this branch), but drush is declaring success while logging user creation in to localhost even while otherwise looking at the pr-xxx environment ... so not done yet, more staring at arcane setups and perhaps tracing the code ahead.

treasuretron commented 4 years ago

In GitLab by @richbodo on Apr 9, 2019, 13:57

Awesome, Stephen. We'll debug with the latest drush and write some tests tomorrow. I think platform is pretty easy to get on the phone and email to their support@ always gives me same day response, so we can debug with them pretty quick - maybe they will have a solution.

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 11, 2019, 04:45

mentioned in commit 95a114bf8d577506c673b7b8821d71f647bdbecb

treasuretron commented 4 years ago

In GitLab by @StephenCataldo on Apr 25, 2019, 03:46

mentioned in commit efe558450677e625995e8e68f1c31c24d479bfa4