Internal - Add/Fix behat test

pull/3464/head
Julio Montoya 5 years ago
parent 95733fb71f
commit 2ec1efe77c
  1. 2
      .travis.yml
  2. 6
      tests/behat/features/profile.feature
  3. 4
      tests/behat/features/sessionAccess.feature

@ -118,7 +118,7 @@ script:
- ../../vendor/behat/behat/bin/behat features/createUser.feature -vvv
- ../../vendor/behat/behat/bin/behat features/createUserViaCSV.feature -v
- ../../vendor/behat/behat/bin/behat features/extraFieldUser.feature -v
# - ../../vendor/behat/behat/bin/behat features/profile.feature -v
- ../../vendor/behat/behat/bin/behat features/profile.feature -v
- ../../vendor/behat/behat/bin/behat features/promotion.feature -v
# - ../../vendor/behat/behat/bin/behat features/registration.feature -v
- ../../vendor/behat/behat/bin/behat features/sessionAccess.feature -vvv

@ -4,7 +4,7 @@ Feature: Profile page
Background:
Given I am a student
Scenario: Update profile with first name Andrew then restore Andrea
Scenario: Change user first name with Andrew then restore to Andrea
Given I am on "/account/home"
Then I should see "Profile"
Then I follow "Edit profile"
@ -19,6 +19,6 @@ Feature: Profile page
Then I fill in the following:
| profile_firstname | Andrea |
And I press "update_profile"
And wait for the page to be loaded
Then I should see "Updated"
Then I am on "/main/social/home.php"
Then I should see "Andrea"
And I should see "Andrea"

@ -19,13 +19,13 @@ Feature: Session access
Then I should see "Subscribe users to this session"
Then I follow "Multiple registration"
And wait the page to be loaded when ready
Then I select "3" from "nosessionUsersList[]"
Then I select "Apple Maggart Fiona (fapple)" from "nosessionUsersList[]"
And I press "add_user"
And I press "next"
And wait very long for the page to be loaded
Then I should see "Session1"
Then I should see "TEMPPRIVATE"
Then I should see "ywarnier"
Then I should see "fapple"
@javascript
Scenario: Create session 2

Loading…
Cancel
Save