Skip to content

Commit

Permalink
Improve selenium CreateTest::testCreateTable
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jun 9, 2020
1 parent ba5d649 commit 0052557
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/selenium/Table/CreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace PhpMyAdmin\Tests\Selenium\Table;

use PhpMyAdmin\Tests\Selenium\TestBase;
use function sleep;

/**
* CreateTest class
Expand Down Expand Up @@ -97,7 +98,7 @@ public function testCreateTable()
$this->waitAjax();

$this->waitForElement('partialLinkText', 'test_table');

sleep(1);
$this->tableStructureAssertions();
}

Expand All @@ -108,10 +109,7 @@ public function testCreateTable()
*/
private function tableStructureAssertions()
{
$this->gotoHomepage();
$this->waitAjax();

$this->navigateTable('test_table');
$this->navigateTable('test_table', true);

$this->waitAjax();

Expand Down

0 comments on commit 0052557

Please sign in to comment.