Commit f6ea0432 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Fix the behat test for the bug 1408438"

parents 449985ba 1dba9f1d
@javascript @core @core_administration
Feature: Checking the absence of the journal checkbox in Profile completion settings
In order not to take into account of Journal in the profile completion bar
As an admin
So I should not see the checkbox "Journal" in the Profile completion settings
Scenario: Checking the absence of the journal checkbox (Bug 1408438)
Given I log in as "admin" with password "Password1"
And I follow "Administration"
And I choose "Profile completion" in "Institutions"
And I click on "Journals"
# Checking the checkbox has been removed
Then "tr#progressbarform_progressbaritem_blog_blog_container" "css_element" should not exists
@javascript @core @core_profile_completion @journal
Feature: Checking the absence of the journal checkbox
In order not to see the Journal checkbox
As an admin
So I can complete my profile without needing to tick it
Scenario: Checking the absence of the journal checkbox (Bug 1408438)
Given I log in as "admin" with password "Password1"
And I follow "Administration"
And I follow "Institutions"
When I choose "Profile completion" in "Institutions"
And I follow "Journals"
Then "Journal" "checkbox" should not exist
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment