Skip to content

Commit 79d0114

Browse files
authored
Use WordHat 0.8.0 (#46)
* Use WordHat 0.8.0 * Steps are case sensitive; Use lowercase dashboard in Behat tests
1 parent 32ea9b0 commit 79d0114

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"require-dev": {
2929
"roave/security-advisories": "dev-master",
30-
"paulgibbs/behat-wordpress-extension": "0.7.1",
30+
"paulgibbs/behat-wordpress-extension": "0.8.0",
3131
"behat/mink-goutte-driver": "^1.2",
3232
"behat/mink-selenium2-driver": "^1.3",
3333
"squizlabs/php_codesniffer": "^2.9.0",

composer.lock

Lines changed: 12 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/behat/features/admin-login.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Feature: Login as an administrator (no-js)
55

66
Scenario: Confirm access to create users
77
Given I am logged in as an admin
8-
When I am on the Dashboard
8+
When I am on the dashboard
99
And I go to menu item "Users > Add New"
10-
Then I should see "Add New User"
10+
Then I should see "Add New User"

tests/behat/features/blogname.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: Change blogname and blogdescription (no-js)
55

66
Background:
77
Given I am logged in as an admin
8-
Given I am on the Dashboard
8+
Given I am on the dashboard
99

1010

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

0 commit comments

Comments
 (0)