Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Don't click on the block unnecessary in behat test #154

Merged

Conversation

GuySartorelli
Copy link
Member

Fixes https://github.com/silverstripe/recipe-kitchen-sink/actions/runs/10033713755/job/27779110922

When I click "Add link" in the ".block-link-field" element # SilverStripe\BehatExtension\Context\BasicContext::iClickInTheElement()
element click intercepted: Element <span class="block-link-field__content--message-add-link">...</span> is not clickable at point (449, 633). Other element would receive the click: <div class="asset-dropzone flexbox-area-grow">...</div>

This is caused by clicking on the block when it's already expanded, which in the specific circumstances in the kitchen sink behat run results in clicking the upload field, opening the assets modal and therefore intercepting the above mentioned "click".

Issue

@emteknetnz emteknetnz merged commit 1fcd812 into silverstripe:3 Jul 23, 2024
13 checks passed
@emteknetnz emteknetnz deleted the pulls/3/no-click-on-block branch July 23, 2024 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants