Commit e4b63976 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon
Browse files

Bug 1657565: New nav behat tests

behatnotneeded

Change-Id: Ifadc7e911efb905660c2a7bce0193551016a5fac
parent 5097eece
...@@ -6,7 +6,7 @@ I need to expand all the fieldsets ...@@ -6,7 +6,7 @@ I need to expand all the fieldsets
Scenario: Expanding all the fieldsets Scenario: Expanding all the fieldsets
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
When I follow "Administration" And I click on "Show Administration Menu"
And I follow "Configure site" And I follow "Configure site"
Then I expand all fieldsets Then I expand all fieldsets
And I should see "Event log expiry" And I should see "Event log expiry"
...@@ -6,8 +6,7 @@ So I can benefit from the use of group categories ...@@ -6,8 +6,7 @@ So I can benefit from the use of group categories
Scenario: Turning switches on and off on group categories page (Bug 1431569) Scenario: Turning switches on and off on group categories page (Bug 1431569)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration" And I choose "Group categories" in "Groups" from Admin menu
And I choose "Group categories" in "Groups (Administer groups)"
# Flicking the switch to the opposite setting # Flicking the switch to the opposite setting
And I set the following fields to these values: And I set the following fields to these values:
| Enable group categories | 1 | | Enable group categories | 1 |
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
Scenario:Injecting sql in groups search field Scenario:Injecting sql in groups search field
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Groups" And I choose "My groups" in "Groups" from Main menu
And I click on "Create group" And I click on "Create group"
And I set the following fields to these values: And I set the following fields to these values:
| Group name | <script>alert(1);</script> | | Group name | <script>alert(1);</script> |
...@@ -15,12 +15,10 @@ Scenario:Injecting sql in groups search field ...@@ -15,12 +15,10 @@ Scenario:Injecting sql in groups search field
| Hide group | Off | | Hide group | Off |
And I press "Save group" And I press "Save group"
And I should see "Group saved successfully" And I should see "Group saved successfully"
And I follow "Administration" And I choose "Administer groups" in "Groups" from Admin menu
And I follow "Groups"
When I set the following fields to these values: When I set the following fields to these values:
| search_query | <script>alert(1);</script> | | search_query | <script>alert(1);</script> |
And I press "search_submit" And I press "search_submit"
And I follow "Privacy statement" And I follow "Privacy statement"
And I should see "Introduction" And I should see "Introduction"
Then I go to "homepage" Then I go to "homepage"
...@@ -17,9 +17,8 @@ Background: ...@@ -17,9 +17,8 @@ Background:
Scenario: Viewing user statistics Scenario: Viewing user statistics
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration"
# Users without an institution # Users without an institution
When I choose "Statistics" in "Institutions" When I choose "Statistics" in "Institutions" from Admin menu
Then I should see "Institution statistics for 'Institution One'" Then I should see "Institution statistics for 'Institution One'"
And I should see "Users 1" And I should see "Users 1"
# Users with an institution # Users with an institution
......
...@@ -15,7 +15,7 @@ Scenario: Confirm that multiple notification choices are available (Bug #1299993 ...@@ -15,7 +15,7 @@ Scenario: Confirm that multiple notification choices are available (Bug #1299993
# Verifying log in was successful # Verifying log in was successful
And I should see "Admin User" And I should see "Admin User"
# Navigating to notification settings # Navigating to notification settings
When I follow "Administration" When I click on "Show Administration Menu"
And I follow "Configure site" And I follow "Configure site"
And I follow "Notification settings" And I follow "Notification settings"
# Verifying "None" option is not available for these notifications # Verifying "None" option is not available for these notifications
...@@ -44,14 +44,13 @@ Scenario: Confirm that multiple notification choices are available (Bug #1299993 ...@@ -44,14 +44,13 @@ Scenario: Confirm that multiple notification choices are available (Bug #1299993
And I select "None" from "Objectionable content in forum" And I select "None" from "Objectionable content in forum"
And I press "Update site options" And I press "Update site options"
# Log out as "Admin User" # Log out as "Admin User"
And I follow "Logout" And I log out
# Logging in as user1 # Logging in as user1
Then I log in as "bob" with password "mahara1" Then I log in as "bob" with password "mahara1"
# Verifying log in was successful # Verifying log in was successful
And I should see "Bob Bobby" And I should see "Bob Bobby"
# Navigating to notification settings # Navigating to notification settings
And I follow "Settings" And I choose "Notifications" in "Settings" from User menu
And I follow "Notifications"
# Verifying the "None" option is not available for the following notifications # Verifying the "None" option is not available for the following notifications
And the "System message" field should not contain "None" And the "System message" field should not contain "None"
And the "Message from other users" field should not contain "None" And the "Message from other users" field should not contain "None"
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
Scenario: Admin logs in and checks notification settings (Bug 1388682) Scenario: Admin logs in and checks notification settings (Bug 1388682)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
When I click on "Administration" And I choose "Site options" in "Configure site" from Admin menu
And I choose "Site options" in "Configure site"
And I click on "Notification settings" And I click on "Notification settings"
Then I should see "Contact us" Then I should see "Contact us"
And I should see "Comment" And I should see "Comment"
......
...@@ -10,6 +10,7 @@ Scenario: Clicking randomly around Mahara (Bug: 1426983) ...@@ -10,6 +10,7 @@ Scenario: Clicking randomly around Mahara (Bug: 1426983)
# Verifying log in was successful # Verifying log in was successful
And I should see "Admin User" And I should see "Admin User"
# Checking Content Menu # Checking Content Menu
And I click on "Show Menu"
When I follow "Content" When I follow "Content"
# Checking About me tabs # Checking About me tabs
And I follow "Contact information" And I follow "Contact information"
...@@ -17,96 +18,98 @@ Scenario: Clicking randomly around Mahara (Bug: 1426983) ...@@ -17,96 +18,98 @@ Scenario: Clicking randomly around Mahara (Bug: 1426983)
And I follow "General" And I follow "General"
And I follow "About me" And I follow "About me"
# Checking Profile picture submenu # Checking Profile picture submenu
And I choose "Profile pictures" in "Content" And I choose "Profile pictures" in "Content" from Main menu
# Checking Files Submenu # Checking Files Submenu
And I choose "Files" in "Content" And I choose "Files" in "Content" from Main menu
# Checking Journal submenu # Checking Journal submenu
And I choose "Journals" in "Content" And I choose "Journals" in "Content" from Main menu
# Checking Resume submenu and tabs # Checking Resume submenu and tabs
And I choose "Résumé" in "Content" And I choose "Résumé" in "Content" from Main menu
And I follow "Education and employment" And I follow "Education and employment"
And I follow "Achievements" And I follow "Achievements"
And I follow "Goals and skills" And I follow "Goals and skills"
And I follow "Interests" And I follow "Interests"
And I follow "Introduction" And I follow "Introduction"
# Checking Plans submenu # Checking Plans submenu
And I choose "Plans" in "Content" And I choose "Plans" in "Content" from Main menu
# Checking Notes submenu # Checking Notes submenu
And I choose "Notes" in "Content" And I choose "Notes" in "Content" from Main menu
# Checking Portfolio Menu and submenu # Checking Portfolio Menu and submenu
And I choose "Pages and collections" in "Portfolio" And I choose "Pages and collections" in "Portfolio" from Main menu
And I choose "Shared by me" in "Portfolio" And I choose "Shared by me" in "Portfolio" from Main menu
And I choose "Shared with me" in "Portfolio" And I choose "Shared with me" in "Portfolio" from Main menu
And I choose "Export" in "Portfolio" And I choose "Export" in "Portfolio" from Main menu
And I choose "Import" in "Portfolio" And I choose "Import" in "Portfolio" from Main menu
# Checking Groups Menus and submenu # Checking Groups Menus and submenu
And I choose "Find groups" in "Groups" And I choose "Find groups" in "Groups" from Main menu
And I choose "My friends" in "Groups" And I choose "My friends" in "Groups" from Main menu
And I choose "Find friends" in "Groups" And I choose "Find friends" in "Groups" from Main menu
And I choose "Institution membership" in "Groups" And I choose "Institution membership" in "Groups" from Main menu
And I choose "Topics" in "Groups" And I choose "Topics" in "Groups" from Main menu
# Checking messages # Checking messages
And I click on "Show User Menu"
And I follow "mail" And I follow "mail"
And I follow "Inbox" And I follow "Inbox" in the ".arrow-bar" "css_element"
And I follow "Sent" And I follow "Sent"
And I follow "Compose" And I follow "Compose"
# Checking Homepage # Checking Homepage
And I click on "Show Menu"
And I follow "Dashboard" And I follow "Dashboard"
# Checking Administration # Checking Administration
And I follow "Administration"
# Checking Admin home Menu and submenu # Checking Admin home Menu and submenu
And I choose "Register" in "Admin home" And I choose "Register" in "Admin home" from Admin menu
And I choose "Site statistics" in "Admin home" And I choose "Site statistics" in "Admin home" from Admin menu
And I follow "Logins" And I follow "Logins"
And I choose "Overview" in "Admin home" And I choose "Overview" in "Admin home" from Admin menu
# Checking Configure site Menu and submenu # Checking Configure site Menu and submenu
And I choose "Site options" in "Configure site" And I choose "Site options" in "Configure site" from Admin menu
And I choose "Static pages" in "Configure site" And I choose "Static pages" in "Configure site" from Admin menu
And I choose "Menus" in "Configure site" And I choose "Menus" in "Configure site" from Admin menu
And I choose "Networking" in "Configure site" And I choose "Networking" in "Configure site" from Admin menu
And I choose "Licenses" in "Configure site" And I choose "Licenses" in "Configure site" from Admin menu
And I choose "Pages and collections" in "Configure site" And I choose "Pages and collections" in "Configure site" from Admin menu
And I choose "Share" in "Configure site" And I choose "Share" in "Configure site" from Admin menu
And I choose "Files" in "Configure site" And I choose "Files" in "Configure site" from Admin menu
And I choose "Cookie Consent" in "Configure site" And I choose "Cookie Consent" in "Configure site" from Admin menu
# Checking Users Menu and submenu # Checking Users Menu and submenu
And I choose "User search" in "Users" And I choose "User search" in "Users" from Admin menu
And I choose "Suspended and expired users" in "Users" And I choose "Suspended and expired users" in "Users" from Admin menu
And I choose "Site staff" in "Users" And I choose "Site staff" in "Users" from Admin menu
And I choose "Site administrators" in "Users" And I choose "Site administrators" in "Users" from Admin menu
And I choose "Export queue" in "Users" And I choose "Export queue" in "Users" from Admin menu
And I choose "Add user" in "Users" And I choose "Add user" in "Users" from Admin menu
And I choose "Add users by CSV" in "Users" And I choose "Add users by CSV" in "Users" from Admin menu
# Checking Groups # Checking Groups
And I choose "Group categories" in "Groups (Administer groups)" And I choose "Group categories" in "Groups" from Admin menu
And I choose "Archived submissions" in "Groups (Administer groups)" And I choose "Archived submissions" in "Groups" from Admin menu
And I choose "Add groups by CSV" in "Groups (Administer groups)" And I choose "Add groups by CSV" in "Groups" from Admin menu
And I choose "Update group members by CSV" in "Groups (Administer groups)" And I choose "Update group members by CSV" in "Groups" from Admin menu
And I choose "Administer groups" in "Groups (Administer groups)" And I choose "Administer groups" in "Groups" from Admin menu
# Checking Institutions Menu and submenus # Checking Institutions Menu and submenus
And I choose "Static pages" in "Institutions" And I choose "Static pages" in "Institutions" from Admin menu
And I choose "Members" in "Institutions" And I choose "Members" in "Institutions" from Admin menu
And I choose "Staff" in "Institutions" And I choose "Staff" in "Institutions" from Admin menu
And I choose "Administrators" in "Institutions" And I choose "Administrators" in "Institutions" from Admin menu
And I choose "Admin notifications" in "Institutions" And I choose "Admin notifications" in "Institutions" from Admin menu
And I choose "Profile completion" in "Institutions" And I choose "Profile completion" in "Institutions" from Admin menu
And I choose "Pages and collections" in "Institutions" And I choose "Pages and collections" in "Institutions" from Admin menu
And I choose "Share" in "Institutions" And I choose "Share" in "Institutions" from Admin menu
And I choose "Files" in "Institutions" And I choose "Files" in "Institutions" from Admin menu
And I choose "Statistics" in "Institutions" And I choose "Statistics" in "Institutions" from Admin menu
And I choose "Pending registrations" in "Institutions" And I choose "Pending registrations" in "Institutions" from Admin menu
# Checking Extensions Menu and submenu # Checking Extensions Menu and submenu
And I choose "Plugin administration" in "Extensions" And I choose "Plugin administration" in "Extensions" from Admin menu
And I choose "HTML filters" in "Extensions" And I choose "HTML filters" in "Extensions" from Admin menu
And I choose "Allowed iframe sources" in "Extensions" And I choose "Allowed iframe sources" in "Extensions" from Admin menu
And I choose "Clean URLs" in "Extensions" And I choose "Clean URLs" in "Extensions" from Admin menu
# Checking Web services Menu and submenu # Checking Web services Menu and submenu
And I choose "Configuration" in "Web services" And I choose "Configuration" in "Web services" from Admin menu
And I choose "OAuth" in "Web services" And I choose "OAuth" in "Web services" from Admin menu
And I choose "Logs" in "Web services" And I choose "Logs" in "Web services" from Admin menu
And I choose "Test client" in "Web services" And I choose "Test client" in "Web services" from Admin menu
And I choose "Application connections" in "Web services" And I choose "Application connections" in "Web services" from Admin menu
And I choose "Connection manager" in "Web services" And I choose "Connection manager" in "Web services" from Admin menu
# The test should be completed once if Return to site works successfully # The test should be completed once if Return to site works successfully
And I follow "Return to site" And I click on "Show Menu"
And I follow "Dashboard"
And I should see "Admin User" And I should see "Admin User"
\ No newline at end of file
...@@ -6,8 +6,7 @@ So I can send this data out ...@@ -6,8 +6,7 @@ So I can send this data out
Scenario: Registered data that is sent (Bug 1447865) Scenario: Registered data that is sent (Bug 1447865)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration" And I choose "Register" in "Admin home" from Admin menu
And I choose "Register" in "Admin home"
When I expand all fieldsets When I expand all fieldsets
And I wait "1" seconds And I wait "1" seconds
Then I should see "phpversion" Then I should see "phpversion"
......
...@@ -6,8 +6,7 @@ I check that the plugins are active ...@@ -6,8 +6,7 @@ I check that the plugins are active
Scenario: Checking that the Multirecipient notifications plugin is active (Bug 1497065) Scenario: Checking that the Multirecipient notifications plugin is active (Bug 1497065)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration" And I choose "Plugin administration" in "Extensions" from Admin menu
And I choose "Plugin administration" in "Extensions"
# Currently only tests for multirecipientnotifications plugin which # Currently only tests for multirecipientnotifications plugin which
# should be active and not be able to be hidden # should be active and not be able to be hidden
And I scroll to the base of id "module.multirecipientnotification" And I scroll to the base of id "module.multirecipientnotification"
......
...@@ -12,7 +12,6 @@ Scenario: Turning the switches on and off on the Site Options page (Bug 1431569) ...@@ -12,7 +12,6 @@ Scenario: Turning the switches on and off on the Site Options page (Bug 1431569)
And I expand all fieldsets And I expand all fieldsets
# Changing all the switches from their default settings # Changing all the switches from their default settings
And I set the following fields to these values: And I set the following fields to these values:
| Drop-down navigation | 1 |
| Show homepage / dashboard information | 0 | | Show homepage / dashboard information | 0 |
| Send weekly updates? | 1 | | Send weekly updates? | 1 |
| Users can choose page themes | 1 | | Users can choose page themes | 1 |
...@@ -51,4 +50,3 @@ Scenario: Turning the switches on and off on the Site Options page (Bug 1431569) ...@@ -51,4 +50,3 @@ Scenario: Turning the switches on and off on the Site Options page (Bug 1431569)
| Custom licenses | 1 | | Custom licenses | 1 |
| Mobile uploads | 1 | | Mobile uploads | 1 |
And I press "Update site options" And I press "Update site options"
...@@ -6,9 +6,8 @@ I need to be able to switch switches back and forth ...@@ -6,9 +6,8 @@ I need to be able to switch switches back and forth
Scenario: Turning switchboxes on and off in diff areas (Bug 1431569) Scenario: Turning switchboxes on and off in diff areas (Bug 1431569)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration"
# In the adding users area # In the adding users area
When I choose "Add user" in "Users" When I choose "Add user" in "Users" from Admin menu
And I press "General account options" And I press "General account options"
# Changing the switches to their opposite setting # Changing the switches to their opposite setting
And I set the following fields to these values: And I set the following fields to these values:
...@@ -26,7 +25,7 @@ Scenario: Turning switchboxes on and off in diff areas (Bug 1431569) ...@@ -26,7 +25,7 @@ Scenario: Turning switchboxes on and off in diff areas (Bug 1431569)
| password | mahara1 | | password | mahara1 |
And I press "Create user" And I press "Create user"
# In the Admin block adding users by CSV area # In the Admin block adding users by CSV area
And I choose "Add users by CSV" in "Users" And I choose "Add users by CSV" in "Users" from Admin menu
And I follow "General account options" And I follow "General account options"
# Changing the switches to the opposite setting # Changing the switches to the opposite setting
And I set the following fields to these values: And I set the following fields to these values:
...@@ -40,7 +39,7 @@ Scenario: Turning switchboxes on and off in diff areas (Bug 1431569) ...@@ -40,7 +39,7 @@ Scenario: Turning switchboxes on and off in diff areas (Bug 1431569)
And I disable the switch "Email users about their account" And I disable the switch "Email users about their account"
And I press "Add users by CSV" And I press "Add users by CSV"
# Navigating to the account index # Navigating to the account index
And I follow "Logout" And I log out
Then I log in as "bob01" with password "Mahara1" Then I log in as "bob01" with password "Mahara1"
And I go to "account/index.php" And I go to "account/index.php"
And I should not see "Undefined index:" And I should not see "Undefined index:"
......
...@@ -6,13 +6,13 @@ I need to be able to access mathslate in Tinymce ...@@ -6,13 +6,13 @@ I need to be able to access mathslate in Tinymce
Scenario: Making adjustments to the mathslate plugin for mahara (Bug 1472446) Scenario: Making adjustments to the mathslate plugin for mahara (Bug 1472446)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration" And I click on "Show Administration Menu"
And I follow "Configure site" And I follow "Configure site"
And I follow "General settings" And I follow "General settings"
And I enable the switch "Enable MathJax" And I enable the switch "Enable MathJax"
And I press "Update site options" And I press "Update site options"
And I should see "Site options have been updated." And I should see "Site options have been updated."
And I choose "Pages and collections" in "Configure site" And I choose "Pages and collections" in "Configure site" from Admin menu
And I follow "Add" And I follow "Add"
And I click on "Page" in the dialog And I click on "Page" in the dialog
And I set the following fields to these values: And I set the following fields to these values:
...@@ -21,11 +21,12 @@ Scenario: Making adjustments to the mathslate plugin for mahara (Bug 1472446) ...@@ -21,11 +21,12 @@ Scenario: Making adjustments to the mathslate plugin for mahara (Bug 1472446)
And I press "Save" And I press "Save"
And I should see "Page saved successfully" And I should see "Page saved successfully"
And I wait "1" seconds And I wait "1" seconds
And I choose "Pages and collections" in "Configure site" And I choose "Pages and collections" in "Configure site" from Admin menu
And I follow "test" And I follow "test"
# Tinymce field adding a math equation # Tinymce field adding a math equation
And I fill in "\\[\\alpha A\\beta B\\]" in editor "Message" And I fill in "\\[\\alpha A\\beta B\\]" in editor "Message"
And I press "Comment" And I press "Comment"
And I wait "1" seconds And I wait "1" seconds
And I choose "Pages and collections" in "Configure site" from Admin menu
And I follow "test"
And I should see "αAβB" And I should see "αAβB"
And I should see "Comment submitted"
...@@ -11,8 +11,7 @@ Background: ...@@ -11,8 +11,7 @@ Background:
Scenario: Testing functions for user search page (Bug 1431569) Scenario: Testing functions for user search page (Bug 1431569)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration" And I choose "User search" in "Users" from Admin menu
And I choose "User search" in "Users"
And I follow "Advanced options" And I follow "Advanced options"
And I follow "P" in the "div#firstnamelist" "css_element" And I follow "P" in the "div#firstnamelist" "css_element"
And I follow "userA" And I follow "userA"
......
...@@ -12,11 +12,10 @@ Given the following "users" exist: ...@@ -12,11 +12,10 @@ Given the following "users" exist:
Scenario: Turning master switch on Scenario: Turning master switch on
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration" And I choose "Configuration" in "Web services" from Admin menu
And I choose "Configuration" in "Web services"
# Turning the master switch on # Turning the master switch on
And I enable the switch "Accept incoming web service requests:" And I enable the switch "Accept incoming web service requests:"
When I go to "/webservice/testclient.php" And I choose "Test client" in "Web services" from Admin menu
And I should not see "The web service authentication plugin is disabled" And I should not see "The web service authentication plugin is disabled"
And I log out And I log out
# Logging in as student to try turn switch on # Logging in as student to try turn switch on
......
...@@ -6,8 +6,7 @@ So I can benefit from the mahara/moodle cross over. ...@@ -6,8 +6,7 @@ So I can benefit from the mahara/moodle cross over.
Scenario: Testing web service admin page on/off switches, and checking test client page is accessible (Bug 1431540) Scenario: Testing web service admin page on/off switches, and checking test client page is accessible (Bug 1431540)
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration" And I choose "Configuration" in "Web services" from Admin menu
And I choose "Configuration" in "Web services"
# Toggle Web service requester master switch # Toggle Web service requester master switch
And I disable the switch "Allow outgoing web service requests:" And I disable the switch "Allow outgoing web service requests:"
And I enable the switch "Allow outgoing web service requests:" And I enable the switch "Allow outgoing web service requests:"
...@@ -21,13 +20,12 @@ Scenario: Testing web service admin page on/off switches, and checking test clie ...@@ -21,13 +20,12 @@ Scenario: Testing web service admin page on/off switches, and checking test clie
# Turning a protocol on # Turning a protocol on
And I enable the switch "SOAP:" And I enable the switch "SOAP:"
# Navigating to the test client page to see it's accessible # Navigating to the test client page to see it's accessible
When I go to "webservice/testclient.php" And I choose "Test client" in "Web services" from Admin menu
Then I should see "This is the interactive test client facility for web services." Then I should see "This is the interactive test client facility for web services."
And I should not see "Select elements should have at least one option" And I should not see "Select elements should have at least one option"
And I should not see "The web service authentication plugin is disabled." And I should not see "The web service authentication plugin is disabled."
# Unchecking a protocol and going to test client page to check it gives warning message # Unchecking a protocol and going to test client page to check it gives warning message
And I am on homepage And I am on homepage
And I follow "Administration"
And I go to "webservice/admin/index.php" And I go to "webservice/admin/index.php"
# Turning protocol off # Turning protocol off
And I disable the switch "SOAP:" And I disable the switch "SOAP:"
......
...@@ -10,7 +10,7 @@ Feature: Mahara users can create their blogs ...@@ -10,7 +10,7 @@ Feature: Mahara users can create their blogs
Scenario: Create blogs Scenario: Create blogs
Given I log in as "userA" with password "Kupuhipa1" Given I log in as "userA" with password "Kupuhipa1"
When I follow "Settings" And I choose "Settings" in "Setting" from User menu
And I fill in the following: And I fill in the following:
| tagssideblockmaxtags | 10 | | tagssideblockmaxtags | 10 |
And I enable the switch "Multiple journals" And I enable the switch "Multiple journals"
...@@ -33,7 +33,7 @@ Feature: Mahara users can create their blogs ...@@ -33,7 +33,7 @@ Feature: Mahara users can create their blogs
And I scroll to the base of id "editpost_tags_container" And I scroll to the base of id "editpost_tags_container"
And I fill in select2 input "editpost_tags" with "blogentry" and select "blogentry" And I fill in select2 input "editpost_tags" with "blogentry" and select "blogentry"
And I press "Save entry" And I press "Save entry"
And I choose "Pages and collections" in "Portfolio" And I choose "Pages and collections" in "Portfolio" from Main menu
And I follow "Add" And I follow "Add"
And I click on "Page" in the dialog And I click on "Page" in the dialog
And I press "Save" And I press "Save"
......
...@@ -13,9 +13,8 @@ Given the following "institutions" exist: ...@@ -13,9 +13,8 @@ Given the following "institutions" exist:
Scenario: Clicking on the journal sub menu headings and adding first journal (Bug 1472467) Scenario: Clicking on the journal sub menu headings and adding first journal (Bug 1472467)
# log in as admin # log in as admin
Given I log in as "admin" with password "Kupuhipa1" Given I log in as "admin" with password "Kupuhipa1"
And I follow "Administration"
# Make sure more than one site journal can be created # Make sure more than one site journal can be created
When I choose "Journals" in "Configure site" When I choose "Journals" in "Configure site" from Admin menu
And I follow "Create journal" And I follow "Create journal"
And I should see "New site journal:" And I should see "New site journal:"
And I set the following fields to these values: And I set the following fields to these values:
...@@ -31,7 +30,7 @@ Scenario: Clicking on the journal sub menu headings and adding first journal (Bu ...@@ -31,7 +30,7 @@ Scenario: Clicking on the journal sub menu headings and adding first journal (Bu
Then I should see "Site journal 2" Then I should see "Site journal 2"
# Make sure more than one institution journal can be created # Make sure more than one institution journal can be created