diff options
author | William Desportes <williamdes@wdes.fr> | 2021-02-17 17:46:03 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2021-02-17 17:46:03 +0300 |
commit | cf608f8ffbb23affdc2815c8625c0e25f2211a96 (patch) | |
tree | 63f8b7526562491ab1fbec7f3bcd6ece4e1e5406 /test/selenium/Table | |
parent | d63a15fc9602208e87dd4734fb091b1debd923de (diff) |
Fix InsertTest::testAddData - clear input before typing
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/selenium/Table')
-rw-r--r-- | test/selenium/Table/InsertTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/selenium/Table/InsertTest.php b/test/selenium/Table/InsertTest.php index 7859d809db..0230f0f444 100644 --- a/test/selenium/Table/InsertTest.php +++ b/test/selenium/Table/InsertTest.php @@ -57,14 +57,14 @@ class InsertTest extends TestBase // shorter date to prevent error, // automatically gets appended with 00:00:00 - $this->byId('field_3_3')->click()->sendKeys('2011-01-2'); + $this->byId('field_3_3')->click()->clear()->sendKeys('2011-01-2'); $this->byId('field_1_3')->sendKeys('1'); $this->byId('field_2_3')->sendKeys('abcd'); // shorter date to prevent error, // automatically gets appended with 00:00:00 - $this->byId('field_6_3')->click()->sendKeys('2012-01-2'); + $this->byId('field_6_3')->click()->clear()->sendKeys('2012-01-2'); $this->byId('field_5_3')->sendKeys('foo'); @@ -82,7 +82,7 @@ class InsertTest extends TestBase // shorter date to prevent error, // automatically gets appended with 00:00:00 - $this->byId('field_3_3')->click()->sendKeys('2013-01-2'); + $this->byId('field_3_3')->click()->clear()->sendKeys('2013-01-2'); $this->byId('field_2_3')->sendKeys('Abcd'); |