-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Steps to reproduce
- do a
composer updateto get the latest dependencies - you will get later commits of
dev-masterfor https://github.com/minkphp/MinkSelenium2Driver - run a webUI test that types in a text box and presses enter, e.g.
bash tests/travis/start_ui_tests.sh --feature tests/acceptance/features/webUIFiles/createFolders.feature:15
Expected behaviour
The test passes.
Actual behaviour
The test fails with:
Scenario: Create a folder inside another folder # /drone/src/tests/acceptance/features/webUIFiles/createFolders.feature:15
When the user creates a folder with the name "top-folder" using the webUI # WebUIFilesContext::theUserCreatesAFolderUsingTheWebUI()
WebDriver\Exception\StaleElementReference: stale element reference: element is not attached to the page document
(Session info: chrome=67.0.3396.99)
(Driver info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),platform=Linux 4.4.0-130-generic x86_64) in /drone/src/lib/composer/instaclick/php-webdriver/lib/WebDriver/Exception.php:155
Stack trace:
#0 /drone/src/lib/composer/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(157): WebDriver\Exception::factory(10, 'stale element r...')
#1 /drone/src/lib/composer/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(218): WebDriver\AbstractWebDriver->curl('POST', '/execute', Array)
#2 /drone/src/lib/composer/instaclick/php-webdriver/lib/WebDriver/Container.php(224): WebDriver\AbstractWebDriver->__call('execute', Array)
#3 /drone/src/lib/composer/behat/mink-selenium2-driver/src/Selenium2Driver.php(295): WebDriver\Container->__call('execute', Array)
#4 /drone/src/lib/composer/behat/mink-selenium2-driver/src/Selenium2Driver.php(699): Behat\Mink\Driver\Selenium2Driver->executeJsOnElement(Object(WebDriver\Element), 'var node = argu...')
#5 /drone/src/lib/composer/behat/mink/src/Element/NodeElement.php(105): Behat\Mink\Driver\Selenium2Driver->setValue('(//html/.//*\n[s...', '\xEE\x80\x83\xEE\x80\x97\xEE\x80\x83\xEE\x80\x97\xEE\x80\x83...')
#6 /drone/src/lib/composer/behat/mink/src/Element/TraversableElement.php(160): Behat\Mink\Element\NodeElement->setValue('top-folder\xEE\x80\x87')
#7 /drone/src/tests/acceptance/features/lib/FilesPage.php(136): Behat\Mink\Element\TraversableElement->fillField('New folder', 'top-folder\xEE\x80\x87')
Server configuration
Local git repo master branch, or on drone CI.