| create | ||
| open | /multisite_drupal_wde/en | |
| clickAndWait | link=Log out | |
| type | id=edit-name | fmr_cm |
| type | id=edit-pass | fmr |
| clickAndWait | id=edit-submit | |
| clickAndWait | link=communities | |
| clickAndWait | link=third community | |
| clickAndWait | link=Survey | |
| type | id=edit-title | Public survey1 |
| click | id=edit-group-content-access-und | |
| select | id=edit-group-content-access-und | label=Public - accessible to all site users |
| clickAndWait | id=edit-submit | |
| verifyTextPresent | Survey Public survey1 has been created | |
| verifyTextPresent | The new webform Public survey1 has been created. Add new fields to your webform with the form below. | |
| clickAndWait | link=Public survey1 | |
| clickAndWait | link=Webform | |
| type | id=edit-add-name | question1 |
| click | id=edit-add-mandatory | |
| clickAndWait | id=edit-add-add | |
| clickAndWait | id=edit-submit | |
| verifyTextPresent | New component question1 added. | |
| type | id=edit-add-name | question2 |
| select | id=edit-add-type | label=Select options |
| click | id=edit-add-mandatory | |
| clickAndWait | id=edit-add-add | |
| click | id=edit-extra-multiple | |
| type | id=edit-extra-items | key1|answer1 key2|answer2 key3|answer3 key4|answer4 |
| clickAndWait | id=edit-submit | |
| verifyTextPresent | New component question2 added. | |
| clickAndWait | link=Form settings | |
| click | id=edit-enforce-limit-yes | |
| type | id=edit-submit-limit--2 | 1 |
| click | id=edit-roles-1 | |
| clickAndWait | id=edit-submit | |
| verifyTextPresent | The form settings have been updated. | |
| clickAndWait | link=View | |
| verifyTextPresent | question1 | |
| verifyTextPresent | question2 | |
| verifyTextPresent | answer1 | |
| verifyTextPresent | answer4 | |
| clickAndWait | link=Survey | |
| type | id=edit-title | Private survey2 |
| click | css=body.cke_show_borders | |
| click | id=edit-group-content-access-und | |
| select | id=edit-group-content-access-und | label=Private - accessible only to group members |
| clickAndWait | id=edit-submit | |
| verifyTextPresent | Survey Private survey2 has been created. | |
| verifyTextPresent | The new webform Private survey2 has been created. Add new fields to your webform with the form below. | |
| clickAndWait | link=Private survey2 | |
| clickAndWait | link=Webform | |
| type | id=edit-add-name | question1 |
| click | id=edit-add-mandatory | |
| clickAndWait | id=edit-add-add | |
| clickAndWait | id=edit-submit | |
| verifyTextPresent | New component question1 added. | |
| clickAndWait | link=Form settings | |
| click | id=edit-enforce-limit-yes | |
| type | id=edit-submit-limit--2 | 1 |
| click | id=edit-roles-1 | |
| clickAndWait | id=edit-submit | |
| verifyTextPresent | The form settings have been updated. | |