@@ -187,21 +187,20 @@ public function validateForm(array &$form, array &$form_state) {
$this->setFormError('import',$form_state,$this->t('Missing ID key "@id_key" for this @entity_type import.',array('@id_key'=>$id_key,'@entity_type'=>$definition->getLabel())));
return;
}
$uuid_key=$definition->getKey('uuid');
// If there is an existing entity, ensure matching ID and UUID.
$this->assertFieldByXPath('//select[@name="config_type"]//option',t('Date format'),'The date format entity type is selected when specified in the URL.');
$this->assertFieldByXPath('//select[@name="config_type"]//option[@selected="selected"]',t('Simple configuration'),'The simple configuration option is selected when specified in the URL.');
// Spot check several known simple configuration files.
$this->assertFieldByXPath('//select[@name="config_type"]//option',t('Date format'),'The date format entity type is selected when specified in the URL.');
$this->assertFieldByXPath('//select[@name="config_type"]//option[@selected="selected"]',t('Date format'),'The date format entity type is selected when specified in the URL.');
$this->assertFieldByXPath('//select[@name="config_name"]//option',t('Fallback date format'),'The fallback date format config entity is selected when specified in the URL.');
$this->assertFieldByXPath('//select[@name="config_name"]//option[@selected="selected"]',t('Fallback date format'),'The fallback date format config entity is selected when specified in the URL.');