2 Feature: Drush-specific steps
3 In order to prove that the drush driver is working properly
5 I need to be able to use the steps provided here
7 Scenario: drush command with text matching: drush output correct status
9 Then drush output should contain "Drupal version"
10 Then drush output should contain "Site URI"
11 Then drush output should match "/.*Site\sURI\s+:.*/"
12 Then drush output should contain "Database driver"
13 Then drush output should contain "Successful"
14 Then drush output should not contain "NonExistantWord"
16 Scenario: drush command with arguments: re-enable toolbar
17 Given I run drush "en" "toolbar -y"
18 And I run drush "en" "toolbar -y"
19 Then drush output should contain "toolbar is already enabled."
21 Scenario: Create and view a node with fields using the Drush driver
22 Given I am viewing an "Article":
23 | title | My article with fields! |
24 | body | A placeholder |
25 Then I should see the heading "My article with fields!"
26 And I should see the text "A placeholder"