Commit eb5e47bb authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1702609: Add proper content to Behat test"

parents e590efe2 77e3ce29
......@@ -14,7 +14,7 @@ Background:
| username | password | email | firstname | lastname | institution | authname | role |
| UserA | Kupuhipa1 | UserA@example.org | Angela | User | mahara | internal | member |
Scenario: Editing admin resume page (Bug 1426983)q
Scenario: Editing admin resume page (Bug 1426983)
Given I log in as "UserA" with password "Kupuhipa1"
# Editing resume
When I choose "Résumé" in "Content" from main menu
......@@ -31,17 +31,18 @@ Scenario: Editing admin resume page (Bug 1426983)q
# Saving the information
And I press "personalinformation_save"
And I should see "Résumé saved"
And I follow "Education and employment"
# Adding Education history
And I press "Add education history"
And I set the following fields to these values:
| addeducationhistory_startdate | 1 Jan 2009 |
| addeducationhistory_enddate | 2 Dec 2010 |
| addeducationhistory_institution | something |
| addeducationhistory_institutionaddress | something again |
| addeducationhistory_qualtype | 1 |
| addeducationhistory_qualname | something |
| addeducationhistory_qualdescription | qually |
| addeducationhistory_institution | University of Life |
| addeducationhistory_institutionaddress | 2/103 Industrial Lane |
| addeducationhistory_qualtype | Masters of Arts |
| addeducationhistory_qualname | North American Cultural Studies |
| addeducationhistory_qualdescription | This qualification is a 4.5-year degree that ends in writing a Master's thesis. |
And I scroll to the base of id "educationhistoryform"
And I attach the file "Image2.png" to "Attach file"
# Saving the changes
......@@ -52,28 +53,28 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I set the following fields to these values:
| addeducationhistory_startdate | 1 Jan 2009 |
| addeducationhistory_enddate | 2 Dec 2010 |
| addeducationhistory_institution | this is an institution |
| addeducationhistory_institutionaddress | adjaskgljas |
| addeducationhistory_qualtype | 2 |
| addeducationhistory_qualname | wqoiretoiqswhogh |
| addeducationhistory_qualdescription | qually1 |
| addeducationhistory_institution | University College |
| addeducationhistory_institutionaddress | 23a O'Dell Boulevard |
| addeducationhistory_qualtype | Masters of Philosophy |
| addeducationhistory_qualname | Machine Learning - Creation 2.1 |
| addeducationhistory_qualdescription | This qualification is a 4 to 6 year degree that ends in an alternate (self-contained) universe. |
And I scroll to the base of id "educationhistoryform"
And I attach the file "Image2.png" to "Attach file"
And I click on "addeducationhistory_submit"
And I scroll to the id "main-nav"
And I should see "Saved successfully"
And I click on "Move down" in "something" row
And I click on "Move up" in "something" row
And I click on "Move down" in "North American Cultural Studies" row
And I click on "Move up" in "North American Cultural Studies" row
# Adding an Employment history
And I scroll to the base of id "addemploymenthistorybutton"
And I press "Add employment history"
And I set the following fields to these values:
| addemploymenthistory_startdate | 1 Jan 2009 |
| addemploymenthistory_enddate | 02 Dec 2010 |
| addemploymenthistory_employer | Test |
| addemploymenthistory_employeraddress | Test |
| addemploymenthistory_jobtitle | Test |
| addemploymenthistory_positiondescription | Test |
| addemploymenthistory_employer | Catalyst IT |
| addemploymenthistory_employeraddress | 150 Willis St |
| addemploymenthistory_jobtitle | Test Analyst |
| addemploymenthistory_positiondescription | Software testing can be described as the process which helps to identify the correctness, completeness, security and quality of developed computer software. In a nutshell, testing is finding out how well something works; a good tester will try multiple avenues to break whatever it is they are testing. In computer hardware and software development, testing is used at key checkpoints in the overall process to determine whether objectives are being met. |
And I scroll to the base of id "addemploymenthistory"
And I attach the file "Image2.png" to "addemploymenthistory_attachments_files_0"
# Verifying it saved
......@@ -83,17 +84,18 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I set the following fields to these values:
| addemploymenthistory_startdate | 1 Jan 2009 |
| addemploymenthistory_enddate | 02 Dec 2010 |
| addemploymenthistory_employer | asdhgol |
| addemploymenthistory_employeraddress | qouweyiugqs |
| addemploymenthistory_jobtitle | aoshdguiahsg |
| addemploymenthistory_positiondescription | aushghasdg |
| addemploymenthistory_employer | Xero |
| addemploymenthistory_employeraddress | 3 Cable Street |
| addemploymenthistory_jobtitle | Code Ninja |
| addemploymenthistory_positiondescription | A programmer, computer programmer, developer, dev, coder, or software engineer is a person who creates computer software. The term computer programmer can refer to a specialist in one area of computer programming or to a generalist who writes code for many kinds of software. One who practices or professes a formal approach to programming may also be known as a programmer analyst. |
And I scroll to the base of id "addemploymenthistory"
And I attach the file "Image2.png" to "addemploymenthistory_attachments_files_0"
# Verifying it saved
And I click on "addemploymenthistory_submit"
Then I should see "Saved successfully"
And I click on "Move down" in "Test" row
And I click on "Move up" in "Test" row
And I click on "Move down" in "Test Analyst" row
And I click on "Move up" in "Test Analyst" row
# Adding Achievements
And I scroll to the base of id "messages"
And I follow "Achievements"
......@@ -102,8 +104,8 @@ Scenario: Editing admin resume page (Bug 1426983)q
# Adding Certifications, accreditations and awards
And I set the following fields to these values:
| addcertification_date | 12/07/2017 |
| addcertification_title | Cert |
| addcertification_description | somethings |
| addcertification_title | Scrum Master Certification |
| addcertification_description | The main role of a Scrum Master is to ensure smooth establishment, efficient and healthy progress and continuous improvement of Scrum Practices in an agile Scrum team. Therefore, competence and perspective of every single Scrum Team Member in an agile Scrum team to be able to act on behalf of and with a Scrum Master is a fundamental factor which determines the success level and lifetime of an agile Scrum team. Whether you act as Scrum Master or not in your Scrum team, it is profoundly important for you to have a clear understanding about how and what makes Scrum far more successful, efficient and delightful to work with than other project management frameworks. Therefore, we recommend you to obtain your Scrum Master Accredited Certification™ (SMAC) if you are conducting one of the following Software Engineering roles: Architect, Business Analyst, Designer, Product Manager, Program Manager, Programmer, Project Manager, Team Leader, Tester |
And I scroll to the base of id "addcertification"
And I attach the file "Image2.png" to "Attach file"
And I press "Save"
......@@ -113,23 +115,24 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I click on "Add certifications, accreditations and awards"
And I set the following fields to these values:
| addcertification_date | 13/07/2017 |
| addcertification_title | dfgfdsg |
| addcertification_description | alfksjgaasd |
| addcertification_title | ISTQB Foundation Agile Tester Extension |
| addcertification_description | Designed for testers holding the ISTQB® Foundation Certificate, this extension course provides an understanding of the fundamentals of testing in Agile projects. |
And I scroll to the base of id "addcertification"
And I attach the file "Image2.png" to "Attach file"
And I press "Save"
And I scroll to the id "main-nav"
And I should see "Saved successfully"
And I click on "Move down" in "Cert" row
And I click on "Move up" in "Cert" row
And I click on "Move down" in "Scrum Master Certification" row
And I click on "Move up" in "Scrum Master Certification" row
# Adding Books and publications
And I scroll to the base of id "addbookbutton"
And I click on "Add books and publications"
And I set the following fields to these values:
| addbook_date | 13/07/2017 |
| addbook_title | Book1 |
| addbook_contribution | alfksjgaasd |
| addbook_description | details ashgashg |
| addbook_title | Measurement of the neutron beta decay asymmetry using machine learning |
| addbook_contribution | Dissertation Doctor of Philosophy |
| addbook_description | Details ashgashg |
And I scroll to the base of id "addbook"
And I attach the file "Image2.png" to "addbook_attachments_files_0"
And I click on "addbook_submit"
......@@ -139,7 +142,7 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I click on "Add books and publications"
And I set the following fields to these values:
| addbook_date | 20/06/2018 |
| addbook_title | dfgjj |
| addbook_title | Normalising Te Reo Māori in Technology |
| addbook_contribution | asdgfasg |
| addbook_description | details asdfsda |
And I scroll to the base of id "addbook"
......@@ -147,16 +150,17 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I click on "addbook_submit"
And I scroll to the id "main-nav"
And I should see "Saved successfully"
And I click on "Move down" in "Book1" row
And I click on "Move up" in "Book1" row
And I click on "Move down" in "Measurement of the neutron beta decay asymmetry using machine learning" row
And I click on "Move up" in "Measurement of the neutron beta decay asymmetry using machine learning" row
# Adding Professional memberships
And I scroll to the base of id "addmembershipbutton"
And I press "Add professional membership"
And I set the following fields to these values:
| addmembership_startdate | 13/07/2017 |
| addmembership_enddate | 14/09/2018 |
| addmembership_title | Mr Membership |
| addmembership_description | asdfsetew |
| addmembership_enddate | 14/09/2022 |
| addmembership_title | Accredited Technologist |
| addmembership_description | Accredited Technologist is the new standard for IT Professionals within the first few years of their career. |
And I scroll to the base of id "addmembership"
And I attach the file "Image2.png" to "addmembership_attachments_files_0"
And I click on "addmembership_submit"
......@@ -174,15 +178,15 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I click on "addmembership_submit"
And I scroll to the id "main-nav"
And I should see "Saved successfully"
And I click on "Move down" in "Mr Membership" row
And I click on "Move up" in "Mr Membership" row
And I click on "Move down" in "Accredited Technologist" row
And I click on "Move up" in "Accredited Technologist" row
And I scroll to the top
And I follow "Goals and skills"
And I should see "My goals"
And I should see "My skills"
And I follow "Personal goals"
And I set the field "Description" to "whateve ry askdf"
And I scroll to the base of id "editgoalsandskills"
And I set the field "Description" to "Become a certified diver"
And I press "Add a file"
And I attach the file "Image2.png" to "File"
And I press "Close" in the "#editgoalsandskills_filebrowser_upload_browse" "css_element"
......@@ -191,8 +195,7 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I scroll to the top
And I follow "Academic goals"
And I set the following fields to these values:
| Description | whateve ry askdf |
And I scroll to the base of id "editgoalsandskills"
| Description | Become tenured professor |
And I press "Add a file"
And I attach the file "Image2.png" to "File"
And I press "Close" in the "#editgoalsandskills_filebrowser_upload_browse" "css_element"
......@@ -202,7 +205,6 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I follow "Career goals"
And I set the following fields to these values:
| Description | whateve ry askdf |
And I scroll to the base of id "editgoalsandskills"
And I press "Add a file"
And I attach the file "Image2.png" to "File"
And I press "Close" in the "#editgoalsandskills_filebrowser_upload_browse" "css_element"
......@@ -212,7 +214,6 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I follow "Personal skills"
And I set the following fields to these values:
| Description | whateve ry askdf |
And I scroll to the base of id "editgoalsandskills"
And I press "Add a file"
And I attach the file "Image2.png" to "File"
And I press "Close" in the "#editgoalsandskills_filebrowser_upload_browse" "css_element"
......@@ -222,7 +223,6 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I follow "Academic skills"
And I set the following fields to these values:
| Description | whateve ry askdf |
And I scroll to the base of id "editgoalsandskills"
And I press "Add a file"
And I attach the file "Image2.png" to "File"
And I press "Close" in the "#editgoalsandskills_filebrowser_upload_browse" "css_element"
......@@ -232,7 +232,6 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I follow "Work skills"
And I set the following fields to these values:
| Description | whateve ry askdf |
And I scroll to the base of id "editgoalsandskills"
And I press "Add a file"
And I attach the file "Image2.png" to "File"
And I press "Close" in the "#editgoalsandskills_filebrowser_upload_browse" "css_element"
......@@ -243,7 +242,6 @@ Scenario: Editing admin resume page (Bug 1426983)q
And I press "Edit"
And I set the following fields to these values:
| Interest | test |
And I scroll to the base of id "resumefieldform_interestfs_container"
And I press "Save"
And I should see "Saved successfully"
And I scroll to the top
......
Markdown is supported
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