-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Improvements to the Inline Editor Tests #4598
Conversation
@TomMalbran I'm seeing a failure in |
@jasonsanjose Yes, I was able to reproduce it, but it got fixed with the use of runs when closing all the files, where using just 1 runs worked, but using 2 didn't. |
@TomMalbran I merged #4581. Can you update this branch to fix the conflicts? Thanks! |
@jasonsanjose PR updated. I was still able to get |
var $dlg = _testWindow.$(".modal.instance"); | ||
if ($dlg.length) { | ||
clickDialogButton("dontsave"); | ||
} |
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.
This could be replaced with Dialogs.cancelModalDialogIfOpen
if it could receive an additional and optional button ID parameter.
Ok. Given the state of or build machine (integration tests run out of memory), I'd rather take this fix and the new failures and address those failures separately. |
Improvements to the Inline Editor Tests
This commit basically joins all the
htmlToCSSProvider
tests inside the Inline Editor Tests into the same window. These are lots of tests where each used a single window, so this makes it faster and nicer to test. There are 3 test left that check for the Inline editor priority were each use their own window since I wasn't sure how to best change those test to be handled inside the same window. But anyway the testing is a lot nicer.This branch is based on #4581, so is best to merge that one first.