Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25836

BDD: StaleElementReference common in travis for "When I edit this content" sentence

    XMLWordPrintable

Details

    Description

      BDD tests for platformUI have a tendency to fail on the following sentence:

          When I edit this content                                                                         # EzSystems\PlatformUIBundle\Features\Context\Fields::editThisContent()
            WebDriver\Exception\StaleElementReference: Element is no longer attached to the DOM
            For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
            Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'
            System info: host: 'testing-worker-linux-docker-9968901f-3386-linux-8', ip: '172.17.1.92', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic', java.version: '1.7.0_76'
            Driver info: driver.version: unknown in vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:155
            Stack trace:
            #0 vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(140): WebDriver\Exception::factory(10, 'Element is no l...')
            #1 vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(198): WebDriver\AbstractWebDriver->curl('GET', '/text', NULL)
            #2 vendor/instaclick/php-webdriver/lib/WebDriver/Container.php(218): WebDriver\AbstractWebDriver->__call('text', Array)
            #3 vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(512): WebDriver\Container->__call('text', Array)
            #4 vendor/behat/mink/src/Element/Element.php(176): Behat\Mink\Driver\Selenium2Driver->getText('((//html/descen...')
            #5 vendor/ezsystems/platform-ui-bundle/Features/Context/PlatformUI.php(298): Behat\Mink\Element\Element->getText()
            #6 vendor/ezsystems/platform-ui-bundle/Features/Context/PlatformUI.php(320): EzSystems\PlatformUIBundle\Features\Context\PlatformUI->getElementByText('Edit', '.ez-actionbar-c...', '.action-label', Object(Behat\Mink\Element\DocumentElement))
            #7 vendor/ezsystems/platform-ui-bundle/Features/Context/SubContext/CommonActions.php(217): EzSystems\PlatformUIBundle\Features\Context\PlatformUI->clickElementByText('Edit', '.ez-actionbar-c...', '.action-label')
            #8 vendor/ezsystems/platform-ui-bundle/Features/Context/Fields.php(93): EzSystems\PlatformUIBundle\Features\Context\PlatformUI->clickActionBar('Edit')
            #9 [internal function]: EzSystems\PlatformUIBundle\Features\Context\Fields->editThisContent()
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: