Details
-
[3.0] - Sprint 18
Description
Looks like there are three issues in the tests that occur randomly:
1) Blocks are not found properly (probably timeout needs to be extended):
| CodeBlock | Code | WebDriver\Exception\ElementNotVisible: Element with selector: .landing-page__zone div:nth-child(1)[data-ez-block-id] .c-action-menu__name was not found in vendor/ezsystems/behatbundle/src/lib/Browser/Context/BrowserContext.php:71 Stack trace: #0 vendor/ezsystems/ezplatform-page-builder/src/lib/Tests/Behat/PageObject/PageBuilderEditor.php(142): EzSystems\Behat\Browser\Context\BrowserContext->waitUntilElementIsVisible('.landing-page__...') #1 vendor/ezsystems/ezplatform-page-builder/src/lib/Tests/Behat/BusinessContext/PageBuilderContext.php(337): EzSystems\EzPlatformPageBuilder\Tests\Behat\PageObject\PageBuilderEditor->clickOnBlock('default_id', 'Code', 'CodeBlock')
2) TextBlock has an issue with popups:
| TextBlock | Text | Exception: element click intercepted: Element <button class="ae-button ez-btn-ae ez-btn-ae--embed " tabindex="-1" title="Embed">...</button> is not clickable at point (250, 284). Other element would receive the click: <div class="ez-data-source__richtext cke_editable cke_editable_inline cke_contents_ltr ae-editable cke_focus" id="block_configuration_attributes_content_value__editable" contenteditable="true" tabindex="0" spellcheck="true" role="textbox" aria-multiline="true" aria-label="Rich Text Editor, block_configuration_attributes_content_value__editable" title="Rich Text Editor, block_configuration_attributes_content_value__editable">...</div> (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:144 Stack trace: #0 vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(157): WebDriver\Exception::factory(64, 'element click i...') #1 vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(218): WebDriver\AbstractWebDriver->curl('POST', '/click', NULL) #2 vendor/instaclick/php-webdriver/lib/WebDriver/Container.php(224): WebDriver\AbstractWebDriver->__call('click', Array) #3 vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(748): WebDriver\Container->__call('click', Array) #4 vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(742): Behat\Mink\Driver\Selenium2Driver->clickOnElement(Object(WebDriver\Element)) #5 vendor/behat/mink/src/Element/NodeElement.php(153): Behat\Mink\Driver\Selenium2Driver->click('(//html/descend...') #6 vendor/ezsystems/ezplatform-admin-ui/src/lib/Behat/PageElement/Fields/RichText.php(135): Behat\Mink\Element\NodeElement->click() #7 vendor/ezsystems/ezplatform-page-builder/src/lib/Tests/Behat/PageElement/Blocks/TextBlock.php(86): EzSystems\EzPlatformAdminUi\Behat\PageElement\Fields\RichText->clickEmbedButton()
3) Block not found (might be related to 1):
Then I see the "Collection" block and its preview in default zone # EzSystems\EzPlatformPageBuilder\Tests\Behat\BusinessContext\PageBuilderContext::iSeeTheBlockAndItsPreviewInZone() | blockName | parameter1 | parameter2 | | Collection | Media,Files | default | Block not found: Collection