Skip to content
Snippets Groups Projects
Commit be7ddbb4 authored by Justin Toupin's avatar Justin Toupin
Browse files

Look for correct button element.

parent 412e77c9
No related branches found
No related tags found
1 merge request!103Issue #3295875: Add a new dedicated permission for Layout paragraphs configurations
......@@ -34,8 +34,8 @@ class ModalHeightTest extends BuilderTestBase {
$this->getSession()->executeScript('jQuery(\'.layout-paragraphs-component-form\').height(\'2000px\');');
// Save button should be reachable.
$this->assertSession()->waitForElementVisible('css', '.lpb-btn--save');
$this->assertSession()->assertVisibleInViewport('css', '.lpb-btn--save');
$this->assertSession()->waitForElementVisible('css', '.ui-dialog-buttonpane .lpb-btn--save', 1000);
$this->assertSession()->assertVisibleInViewport('css', '.ui-dialog-buttonpane .lpb-btn--save');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment