Create resources manually
open /${baseUrl}/node/add
verifyElementPresent link=Resource
clickAndWait link=Resource
type id=edit-title Example resource one
type id=edit-cp-resource-reference-und-0-value Example reference
type id=edit-cp-resource-source-und Example source
type id=edit-body-und-0-value Description for example resource one.
select id=edit-cp-canonical-course-und-hierarchical-select-selects-0 label=Mathematics
select id=edit-cp-canonical-course-und-hierarchical-select-selects-1 label=Math course 1
click id=edit-cp-canonical-course-und-hierarchical-select-dropbox-add
select id=edit-cp-canonical-course-und-hierarchical-select-selects-0 label=Mathematics
select id=edit-cp-canonical-course-und-hierarchical-select-selects-1 label=Math course 2
click id=edit-cp-canonical-course-und-hierarchical-select-dropbox-add
type id=edit-cp-keywords-und alpha
clickAndWait id=edit-submit
open ${courseOffering}
open /${baseUrl}/node/add/cp-resource
type id=edit-title Example resource two
select id=edit-cp-resource-type-und label=Book reference
type id=edit-cp-resource-reference-und-0-value Example book reference
type id=edit-cp-resource-source-und Example source
type id=edit-body-und-0-value Description for example resource two.
select id=edit-cp-canonical-course-und-hierarchical-select-selects-0 label=Mathematics
select id=edit-cp-canonical-course-und-hierarchical-select-selects-1 label=Math course 1
click id=edit-cp-canonical-course-und-hierarchical-select-dropbox-add
type id=edit-cp-keywords-und beta
clickAndWait id=edit-submit
verifyTextPresent Status message Resource Example resource two has been created.