From 2c802dd6706b0148631e240fb07c5c05a777af30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Mon, 4 Sep 2023 18:19:13 -0300 Subject: [PATCH] Fix Selenium\Database\ProceduresTest failing test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- test/selenium/Database/ProceduresTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/selenium/Database/ProceduresTest.php b/test/selenium/Database/ProceduresTest.php index 36e980ab2e..dd006ad53f 100644 --- a/test/selenium/Database/ProceduresTest.php +++ b/test/selenium/Database/ProceduresTest.php @@ -149,6 +149,15 @@ class ProceduresTest extends TestBase 'READS SQL DATA' ); + $action = $this->webDriver->action(); + // Resize the too big text box to access Go button + $element = $this->byXPath('//*[@class="ui-resizable-handle ui-resizable-s"]'); + $action->moveToElement($element) + ->clickAndHold() + ->moveByOffset(0, -120)// Resize + ->click()// Click to free the mouse + ->perform(); + $this->byCssSelector('div.ui-dialog-buttonset button:nth-child(1)')->click(); $this->waitForElement( -- 2.11.4.GIT