-
Notifications
You must be signed in to change notification settings - Fork 80
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
API Remove code which is being migrated to a new TinyMCE module #1544
base: 3.0
Are you sure you want to change the base?
API Remove code which is being migrated to a new TinyMCE module #1544
Conversation
0efef04
to
c117fa2
Compare
4b16d6e
to
a084368
Compare
a084368
to
57c92d8
Compare
@@ -5,6 +5,7 @@ | |||
*/ | |||
require('expose-loader?exposes=InsertMediaModal!containers/InsertMediaModal/InsertMediaModal'); | |||
require('expose-loader?exposes=InsertEmbedModal!components/InsertEmbedModal/InsertEmbedModal'); | |||
require('expose-loader?exposes=AssetAdminModalActions!state/modal/ModalActions'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed so it can be used in plugins in the new repo
// Check if the popover is open for the block | ||
$button = $modal->find('xpath', "//button[contains(text(), '$buttonName')]"); | ||
|
||
Assert::assertNotNull($button, sprintf('Could not find button labelled "%s"', $buttonName)); | ||
|
||
$button = $this->basicContext->findNamedButton($buttonName, $modal); | ||
if (!$button) { | ||
Assert::assertNotNull($button, sprintf('Could not find button labelled "%s"', $buttonName)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The behat tests copied from this repo weren't playing nicely with And I press the "Save" button
(it pressed the page save button instead of the modal one).
Updating to And I press the "Save" button inside the modal
failed to find the button until this change was made.
Issue