Brooke Heaton

Results 21 comments of Brooke Heaton

When running `drush sa @mysite.local` I get: ``` '@mysite.local': host: appserver.local.3c467b15-14ac-4b4c-b134-fbbdf812e7b2.drush.in paths: files: files drush-script: drush9 uri: local-mysite.pantheonsite.io user: local.3c467b15-14ac-4b4c-b134-fbbdf812e7b2 ssh: options: '-p 2222 -o "AddressFamily inet"' tty: false ```

appears to be an issue with `consolidation/site-alias`

`iWaitForAjaxToFinish` appears to be inherently problematic function. All tests are now failing at this step for me on 4.1 using `selenium/standalone-chrome:3.141.59-oxygen`

Hm, strange. I've added the above solution to my `FeatureContext.php` and am still getting the Error. `FeatureContext` is the first Context listed in my `behat.yml`

@jhedstrom ``` brookeheaton@pop-os:~/Sites/naswa$ lando behat --tags="@member-role" -vvv lando 13:55:48 DEBUG ==> No update available. lando 13:55:48 VERBOSE ==> starting bootstrap at level engine... lando 13:55:48 VERBOSE ==> config bootstrap beginning......

@jhedstrom Is it not possible to use entityQuery in FeatureContext? I'm confused. I've seen countless examples of using Drupal functions in FeatureContext. What am I doing wrong?

FWIW this was where I went hunting initially for inspiration and I simply approached this using D8 methods: https://www.metaltoad.com/blog/what-i-learned-today-drupal-behat-scenario-cleanup Another example: https://github.com/CityOfBoston/boston.gov-d8/blob/c89fbdb62efc69a7739151ecffcf0645dc7c72ac/tests/behat/src/Contexts/FeatureContext.php#L863

@jhedstrom I'm using the Pantheon ootb Build Tools `behat.yml` which has `drush`. Is that wrong?

@jhedstrom Example: https://github.com/tambaslamin/covid-19-chs/blob/0d691ead8e9383dc207c9b6ba4a3d62f0d943ddb/tests/behat/behat-pantheon.yml

This would seem like a critical improvement - we can't yet create Media entities in Drupal 8 with the Extension. Anything we are waiting on here?