diff options
author | William Desportes <williamdes@wdes.fr> | 2020-06-10 00:48:26 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2020-06-10 02:27:22 +0300 |
commit | 0052557b2b05fd39fa78a6aa8e5068f194fadca8 (patch) | |
tree | bc81d88ff9a4f9fa22fb1e3ce4062f2b901f5e17 /test/selenium | |
parent | ba5d6492c2bc9dcedcd5f06b778feda751bba26a (diff) |
Improve selenium CreateTest::testCreateTable
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/selenium')
-rw-r--r-- | test/selenium/Table/CreateTest.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/selenium/Table/CreateTest.php b/test/selenium/Table/CreateTest.php index 6a1a29bb25..7d7c576d0b 100644 --- a/test/selenium/Table/CreateTest.php +++ b/test/selenium/Table/CreateTest.php @@ -8,6 +8,7 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Selenium\Table; use PhpMyAdmin\Tests\Selenium\TestBase; +use function sleep; /** * CreateTest class @@ -97,7 +98,7 @@ class CreateTest extends TestBase $this->waitAjax(); $this->waitForElement('partialLinkText', 'test_table'); - + sleep(1); $this->tableStructureAssertions(); } @@ -108,10 +109,7 @@ class CreateTest extends TestBase */ private function tableStructureAssertions() { - $this->gotoHomepage(); - $this->waitAjax(); - - $this->navigateTable('test_table'); + $this->navigateTable('test_table', true); $this->waitAjax(); |