Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-11-23 19:50:51 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-11-25 19:37:47 +0300
commitfbd5b0a67c54b77fcfa86febfa762b2cd22281fd (patch)
treeaa2add7a0d62fa3e26e3e8946674f2fc9fb82a71 /test/selenium
parent400146006610cb7dab2e80fcb2a6417973549f8c (diff)
Redesign the export/import pages to use Bootstrap components
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/selenium')
-rw-r--r--test/selenium/ExportTest.php2
-rw-r--r--test/selenium/ImportTest.php5
2 files changed, 5 insertions, 2 deletions
diff --git a/test/selenium/ExportTest.php b/test/selenium/ExportTest.php
index 11ee724118..4c841e9f4f 100644
--- a/test/selenium/ExportTest.php
+++ b/test/selenium/ExportTest.php
@@ -141,7 +141,7 @@ class ExportTest extends TestBase
$this->scrollIntoView('databases_and_tables', 200);
sleep(1);
$this->scrollIntoView('databases_and_tables', 200);
- $this->byPartialLinkText('Unselect all')->click();
+ $this->byId('db_unselect_all')->click();
$this->byCssSelector('option[value="' . $this->databaseName . '"]')->click();
}
diff --git a/test/selenium/ImportTest.php b/test/selenium/ImportTest.php
index 91b0618252..c521b24a44 100644
--- a/test/selenium/ImportTest.php
+++ b/test/selenium/ImportTest.php
@@ -101,7 +101,7 @@ class ImportTest extends TestBase
$this->waitAjax();
$this->waitForElement('id', 'input_import_file');
- $this->waitForElement('cssSelector', 'label[for=radio_local_import_file]')->click();
+ $this->waitForElement('id', 'localFileTab')->click();
$this->selectByValue(
$this->byName('local_import_file'),
@@ -119,6 +119,9 @@ class ImportTest extends TestBase
$this->scrollToBottom();
$this->waitUntilElementIsVisible('id', 'buttonGo', 30);
+ $this->scrollToBottom();
+ sleep(1);
+ $this->scrollToBottom();
$this->byId('buttonGo')->click();
sleep(2);
$this->waitUntilElementIsVisible(