Skip to content

Commit 2933365

Browse files
committed
refresh page
1 parent 094d2c6 commit 2933365

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

tests/features/bootstrap/FeatureContext.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,14 @@ public function iFillInWithAValidPassword($arg1)
223223
{
224224
$this->fillField($arg1, $this->params['admin_password']);
225225
}
226+
227+
/**
228+
* @Given I refresh the page
229+
*/
230+
public function iRefreshThePage()
231+
{
232+
$this->getSession()->getDriver()->reload();
233+
}
226234

227235
/**
228236
* @When /^I fill in "([^"]*)" with an email address$/

tests/features/managing-campaigns/newcampaign.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Feature: Create new campaign
2525
When I follow "Lists"
2626
When I follow "Content"
2727
When I follow "Lists"
28+
And I refresh the page
2829
Then I should see "Please select the lists you want to send your campaign to"
2930
And I should see "All Lists"
3031
When I check "targetlist[all]"

0 commit comments

Comments
 (0)