You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run blt tests:behat:execute against a Behat feature file, the first scenario tagged @javascript is failing, while subsequent scenarios in that feature file pass.
The result is that the first scenario, e.g. Scenario: Ensure that the WYSIWYG editor is present. fails, but the next scenario, e.g. Scenario: Ensure that meta tag fields are present. passes.
The output from running the test is consistent between the two example feature files:
@javascript
Scenario: Ensure that the WYSIWYG editor is present. # /Users/jeff.beeman/Projects/watercooler/docroot/profiles/contrib/lightning/tests/features/content_type.feature:12
Given I am logged in as a user with the administrator role # Drupal\DrupalExtension\Context\DrupalContext::assertAuthenticatedByRole()
Form field with id|name|label|value|placeholder "Username" not found.
+--[ | Selenium2Driver ]
|
|
|
When I visit "node/add/page" # Drupal\DrupalExtension\Context\MinkContext::assertAtPath()
Then CKEditor "edit-body-0-value" should exist
My naive guess is that it's failing to login. Perhaps a race condition with loading the page via the Selenium driver?
The text was updated successfully, but these errors were encountered:
@jrbeeman Is this still an issue in more recent versions of BLT? I have been unable to reproduce. Testing tools for Behat have changed significantly since this issue was filed.
When attempting to run
blt tests:behat:execute
against a Behat feature file, the first scenario tagged @javascript is failing, while subsequent scenarios in that feature file pass.Example I have tested:
The result is that the first scenario, e.g.
Scenario: Ensure that the WYSIWYG editor is present.
fails, but the next scenario, e.g.Scenario: Ensure that meta tag fields are present.
passes.The output from running the test is consistent between the two example feature files:
My naive guess is that it's failing to login. Perhaps a race condition with loading the page via the Selenium driver?
The text was updated successfully, but these errors were encountered: