From e10ba87440564fc94d7e249fdcbdae39b8b3f76c Mon Sep 17 00:00:00 2001 From: hlm7 Date: Thu, 1 Dec 2011 18:45:31 +0000 Subject: [PATCH] Minor test case changes from Holly. --- .../suites/CreatePeople/AddFacultyInfo.html | 10 ++ .../suites/CreatePeople/EditFacultyInfo.html | 129 +++++++++++++++++- 2 files changed, 132 insertions(+), 7 deletions(-) diff --git a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html index 87a6a50d..e76bec87 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/AddFacultyInfo.html @@ -194,6 +194,11 @@ Edit + + clickAndWait + link=Return + + assertTitle Faculty, Jane @@ -994,6 +999,11 @@ Add new entry for: eRA Commons id + + waitForElementPresent + tinymce + + type tinymce diff --git a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html index 71b9e13e..1c5d034c 100644 --- a/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html +++ b/utilities/acceptance-tests/suites/CreatePeople/EditFacultyInfo.html @@ -129,9 +129,14 @@ Edit all fields + + selectWindow + null + + clickAndWait - //ul[@id='individual-hasResearchArea']/li/a[2]/img + css=a.add-hasResearchArea > img.add-individual @@ -139,9 +144,14 @@ Edit + + click + id=showAddFormButton + + clickAndWait - //input[@id='submit' and @value='Add a new item of this type'] + link=exact:Can't find the concept you want? Create your own. @@ -151,12 +161,37 @@ type - name + id=relatedIndLabel Primatia Africana clickAndWait - submit + id=submit + + + + assertTitle + Edit + + + + clickAndWait + link=Return to Manage Concepts + + + + assertTitle + Edit + + + + clickAndWait + link=Return + + + + assertTitle + Edit @@ -204,6 +239,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -249,6 +289,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -277,7 +322,17 @@ select typeOfNew - label=Country (core) + label=Country (vivo) + + + clickAndWait + //input[@id='submit' and @value='Add a new item of this type'] + + + + assertTitle + Edit + clickAndWait @@ -349,6 +404,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -374,6 +434,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -469,6 +534,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -494,6 +564,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -544,6 +619,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -604,6 +684,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -629,6 +714,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -654,6 +744,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -679,6 +774,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -704,6 +804,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -729,6 +834,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce @@ -762,7 +872,7 @@ select typeOfNew - label=License (core) + label=License (vivo) clickAndWait @@ -802,7 +912,7 @@ select typeOfNew - label=Licensure (core) + label=Licensure (vivo) clickAndWait @@ -839,6 +949,11 @@ Edit + + waitForElementPresent + tinymce + + type tinymce