Project

General

Profile

Bug #25382

Autocomplete test fails when trying to update Jest 23.6

Added by Ron Lavi 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The global/window object seem to change through the update,
in my opinion, simulate shouldn't be used on the window object as it isn't
working as the DOM window, calling the function which is triggered by window's key press
is really what we want to test, and almost sure not to fail in future Jest/Enzyme upgrades.

Associated revisions

Revision 5d9f5856 (diff)
Added by Ron Lavi 6 months ago

fixes #25382 - update Autocomplete tests to work on latest Jest

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6201 added

#2 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6191 added

#3 Updated by Tomer Brisker 6 months ago

  • Fixed in Releases 1.21.0 added

#4 Updated by Tomer Brisker 6 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/6201)

#5 Updated by Ron Lavi 6 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF