Issue #1965048 by olli: Fixed Frequent random test failure EntityTranslationUITest Invalid values generate a list of form errors.
parent
af9859d788
commit
7389325c36
|
@ -188,7 +188,7 @@ abstract class EntityTranslationUITest extends EntityTranslationTestBase {
|
||||||
$edit = array(
|
$edit = array(
|
||||||
// User names have by default length 8.
|
// User names have by default length 8.
|
||||||
'translation_entity[name]' => $this->randomName(12),
|
'translation_entity[name]' => $this->randomName(12),
|
||||||
'translation_entity[created]' => $this->randomName(),
|
'translation_entity[created]' => '19/11/1978',
|
||||||
);
|
);
|
||||||
$this->drupalPost($path, $edit, $this->getFormSubmitAction($entity));
|
$this->drupalPost($path, $edit, $this->getFormSubmitAction($entity));
|
||||||
$this->assertTrue($this->xpath('//div[@id="messages"]//div[contains(@class, "error")]//ul'), 'Invalid values generate a list of form errors.');
|
$this->assertTrue($this->xpath('//div[@id="messages"]//div[contains(@class, "error")]//ul'), 'Invalid values generate a list of form errors.');
|
||||||
|
|
Loading…
Reference in New Issue