Details
-
Bug
-
Resolution: Done
-
High
-
3.0.0-beta1, 2.5.3
-
None
-
None
Description
Selenium AdminUI test fails when trying to verify that notification is correctly shown when publishing Content with ezmaplocation fieldtype.
Example failure:
https://travis-ci.org/ezsystems/ezplatform-admin-ui/jobs/565496768
Log:
| Map location | latitude | 56 | longitude | 101 | address | Ohio | Acapulco | Ohio | WebDriver\Exception\NoSuchElement: no such element: Unable to locate element: {"method":"xpath","selector":"(//html/descendant-or-self::*[@class and contains(concat(' ', normalize-space(@class), ' '), ' ez-notifications-container ')]/descendant-or-self::*/*[(@class and contains(concat(' ', normalize-space(@class), ' '), ' alert ')) and (@class and contains(concat(' ', normalize-space(@class), ' '), ' show '))])[1]"} (Session info: chrome=74.0.3729.169) (Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Linux 4.4.0-101-generic x86_64) in vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:155 Stack trace: #0 vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(157): WebDriver\Exception::factory(7, 'no such element...') #1 vendor/instaclick/php-webdriver/lib/WebDriver/Container.php(64): WebDriver\AbstractWebDriver->curl('POST', '/element', Array) #2 vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(974): WebDriver\Container->element('xpath', '(//html/descend...') #3 vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(250): Behat\Mink\Driver\Selenium2Driver->findElement('(//html/descend...') #4 vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(541): Behat\Mink\Driver\Selenium2Driver->executeJsOnXpath('(//html/descend...', 'return {{ELEMEN...') #5 vendor/behat/mink/src/Element/NodeElement.php(117): Behat\Mink\Driver\Selenium2Driver->getAttribute('(//html/descend...', 'class') #6 vendor/behat/mink/src/Element/NodeElement.php(141): Behat\Mink\Element\NodeElement->hasAttribute('class') #7 vendor/ezsystems/ezplatform-admin-ui/src/lib/Behat/PageElement/Notification.php(47): Behat\Mink\Element\NodeElement->hasClass('alert-success') #8 vendor/ezsystems/ezplatform-admin-ui/src/lib/Behat/BusinessContext/NotificationContext.php(37): EzSystems\EzPlatformAdminUi\Behat\PageElement\Notification->verifyAlertSuccess() #9 [internal function]: EzSystems\EzPlatformAdminUi\Behat\BusinessContext\NotificationContext->specificNotificationAppears('Content publish...')