Created
July 10, 2019 16:10
-
-
Save jaspreetaxelerant/8ddedb40e75dcd80d7a9f0fc4677e081 to your computer and use it in GitHub Desktop.
Feature file-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@test2 | |
Feature: Login and Create content for BehatSite | |
As a Drupal user | |
I need to be able to edit Article and Basic Page | |
Background: Login process for Behat | |
Given I go to "user" | |
When I fill in "edit-name" with "behat_admin_user" | |
And I fill in "edit-pass" with "behat_admin_user" | |
And I press the "edit-submit" button | |
Then I should see an ".user-logged-in" element | |
@javascript | |
Scenario: Edit Page on Behat site | |
Given I am on "/" | |
Given I visit content page "behattest" | |
And I click "Edit" | |
And I wait for AJAX to finish | |
And I fill in "Title" with "newtext1" | |
And I press the "edit-submit" button | |
Then I am at "newtext1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment