From acb18deb82a4b426eb0ec1045f12145dbfe668c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 19 Mar 2014 14:34:14 +0100 Subject: [PATCH] Need to skip the test explicitely before alert is open MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/selenium/PmaSeleniumXssTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/selenium/PmaSeleniumXssTest.php b/test/selenium/PmaSeleniumXssTest.php index 219faf7413..1af38cf32d 100644 --- a/test/selenium/PmaSeleniumXssTest.php +++ b/test/selenium/PmaSeleniumXssTest.php @@ -26,6 +26,9 @@ class PMA_SeleniumXSSTest extends PMA_SeleniumBase */ public function testQueryTabWithNullValue() { + if (strtolower($this->getBrowser()) == 'safari') { + $this->markTestSkipped('Alerts not supported on Safari browser.'); + } $this->login(); $this->waitForElement('byLinkText', "SQL")->click(); $this->waitForElement("byId", "queryboxf");