-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,6 +154,8 @@ public function test_it_loads_xml_from_textarea() | |
self::fillFormField($formElement, '#dashboard_bundle_entity_type_attributes_commonNameAttribute_motivation', 'foo'); | ||
self::fillFormField($formElement, '#dashboard_bundle_entity_type_attributes_organizationAttribute_motivation', 'foo'); | ||
self::fillFormField($formElement, '#dashboard_bundle_entity_type_attributes_personalCodeAttribute_motivation', 'foo'); | ||
// Also check a type of service (as they are mandatory) | ||
self::checkFormField($formElement, '#dashboard_bundle_entity_type_metadata_typeOfService_2'); | ||
self::findBy('#dashboard_bundle_entity_type_publishButton')->click(); | ||
|
||
$pageTitle = self::$pantherClient->refreshCrawler()->filter('h1')->first()->text(); | ||
|
@@ -287,6 +289,7 @@ private function buildValidFormData() | |
'dashboard_bundle_entity_type[metadata][descriptionEn]' => 'SURF SP2 Description English', | ||
'dashboard_bundle_entity_type[metadata][applicationUrl]' => '', | ||
'dashboard_bundle_entity_type[metadata][eulaUrl]' => '', | ||
'dashboard_bundle_entity_type[metadata][typeOfService][]' => 'Research', | ||
'dashboard_bundle_entity_type[contactInformation][administrativeContact][firstName]' => 'Jane', | ||
'dashboard_bundle_entity_type[contactInformation][administrativeContact][lastName]' => 'Doe', | ||
'dashboard_bundle_entity_type[contactInformation][administrativeContact][email]' => '[email protected]', | ||
|
@@ -299,7 +302,7 @@ private function buildValidFormData() | |
'dashboard_bundle_entity_type[contactInformation][supportContact][lastName]' => 'surname', | ||
'dashboard_bundle_entity_type[contactInformation][supportContact][email]' => '[email protected]', | ||
'dashboard_bundle_entity_type[contactInformation][supportContact][phone]' => 'telephonenumber', | ||
'dashboard_bundle_entity_type[comments][comments]' => 'I need a new name NL' | ||
'dashboard_bundle_entity_type[comments][comments]' => 'I need a new name NL', | ||
]; | ||
|
||
foreach ($attributes as $attribute) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters