mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 08:49:03 +08:00
FIX: Bugs with autocomplete
It wasn't tearing itself down properly. It was swallowing events.
This commit is contained in:
@ -22,7 +22,7 @@ test("modal", () => {
|
||||
ok(find('#discourse-modal:visible').length === 1, 'modal should reappear');
|
||||
});
|
||||
|
||||
keyEvent('#main-outlet', 'keyup', 27);
|
||||
keyEvent('#main-outlet', 'keydown', 27);
|
||||
andThen(() => {
|
||||
ok(find('#discourse-modal:visible').length === 0, 'ESC should close the modal');
|
||||
});
|
||||
|
Reference in New Issue
Block a user