Skip to content

Commit f55c859

Browse files
committed
Scroll submit query button into view before clicking
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 0acf789 commit f55c859

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/selenium/TestBase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ public function dbQuery(string $query, Closure|null $onResults = null, Closure|n
644644
$this->byXPath('//*[contains(@class,"nav-item") and contains(., "SQL")]')->click();
645645
$this->waitAjax();
646646
$this->typeInTextArea($query);
647+
$this->scrollIntoView('button_submit_query');
647648
$this->byId('button_submit_query')->click();
648649
if ($afterSubmit !== null) {
649650
$afterSubmit->call($this);

0 commit comments

Comments
 (0)