Skip to content
Snippets Groups Projects
Commit 31f7d0a4 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3120794: Update VarbaseContext for the Automated Functional Acceptance Testing group

parent df026851
No related branches found
No related tags found
No related merge requests found
......@@ -1500,4 +1500,19 @@ JS;
}
}
/**
* @When /^(?:|I )switch to iframe "([^"]*)"$/
*/
public function iSwitchToIframe($iFrameLocator) {
$this->getSession()->getDriver()->switchToIFrame($iFrameLocator);
}
/**
* @When /^(?:|I )switch to main frame$/
* @When /^(?:|I )switch to parent$/
*/
public function iSwitchToParent() {
$this->getSession()->getDriver()->switchToIFrame(null);
}
}
......@@ -7,7 +7,6 @@ Scenario: Create Test Content type
And I wait
Then I should see "Add content type"
When I fill in "Test Content" for "Name"
And I fill in "test_content" for "Machine-readable name"
And I press "Save and manage fields"
And I wait
Then I should see "The content type Test Content has been added."
......@@ -22,7 +21,6 @@ Scenario: Add Entity Queue Test Queue and use Test Content type
And I wait
Then I should see "Add Entity Queue"
When I fill in "Test Queue" for "Name"
And I fill in "test_queue" for "Machine-readable name"
And I click "Entity settings"
And I wait
Then I should see "Content type"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment