Skip to content

Commit

Permalink
Use WordHat 0.8.0 (#46)
Browse files Browse the repository at this point in the history
* Use WordHat 0.8.0
* Steps are case sensitive; Use lowercase dashboard in Behat tests
  • Loading branch information
ataylorme authored Sep 20, 2017
1 parent 32ea9b0 commit 79d0114
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"require-dev": {
"roave/security-advisories": "dev-master",
"paulgibbs/behat-wordpress-extension": "0.7.1",
"paulgibbs/behat-wordpress-extension": "0.8.0",
"behat/mink-goutte-driver": "^1.2",
"behat/mink-selenium2-driver": "^1.3",
"squizlabs/php_codesniffer": "^2.9.0",
Expand Down
21 changes: 12 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/behat/features/admin-login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Feature: Login as an administrator (no-js)

Scenario: Confirm access to create users
Given I am logged in as an admin
When I am on the Dashboard
When I am on the dashboard
And I go to menu item "Users > Add New"
Then I should see "Add New User"
Then I should see "Add New User"
4 changes: 2 additions & 2 deletions tests/behat/features/blogname.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Feature: Change blogname and blogdescription (no-js)

Background:
Given I am logged in as an admin
Given I am on the Dashboard
Given I am on the dashboard


Scenario: Saving blogname
Expand All @@ -22,4 +22,4 @@ Feature: Change blogname and blogdescription (no-js)
And I press "submit"
And I should see "Settings saved."
And I am on the homepage
Then I should see "GitHub + Composer + CircleCi + Pantheon = Win!" in the ".site-description" element
Then I should see "GitHub + Composer + CircleCi + Pantheon = Win!" in the ".site-description" element

1 comment on commit 79d0114

@pantheon-ci-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created multidev environment example-wordpress-composer#dev.

Visit Site

Please sign in to comment.