Behat test: Require the setting of the country field

Bug #1785725 reported by Steven
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

Behat: Create Script for feature file -> required_country_field.feature

Related to: //bugs.launchpad.net/mahara/+bug/1173133

Summary: I want the country field to be required
by all members when Country is enabled in Mandatory fields for the Mahara site
so that all will have the country filled in in their profile

Background: = Users exist - admin and mahara member

# log in as Site admin
# Navigate to Administration menu > Configure site > Site options > Site
# Verify that 'Country' displays the value 'No country selected'.
# Navigate to Administration menu > Extensions > Plugin administration > Plugin type: artefact > internal (settings icon)
# Enable country in Mandatory fields and save

# Log in as Mahara member
# Verify no error messages displayed
# verify Required profile fields title is displayed
# verify Country field is displayed with New Zealand option auto-selected
# verify once submit button is clicked that user is on their dashboard page

Tags: behat
summary: - Behat test: I want the country field to be required
+ Behat test: Require the setting of the country field
Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
tags: added: behat
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/9121

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9121
Committed: https://git.mahara.org/mahara/mahara/commit/02bdc8d469c00504fb1886ddb947ef964d710e5e
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 02bdc8d469c00504fb1886ddb947ef964d710e5e
Author: Steven Spinelli <email address hidden>
Date: Mon Sep 10 14:03:46 2018 +1200

Bug 1785725 Behat: Country is enabled in Mandatory fields

Change-Id: I0bfdd555f8c741b8267fbc076d042249bca840de

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 18.10.0
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.