Project

General

Profile

Bug #25752

console error occurs in layout.test.js

Added by Amir Fefer 11 months ago. Updated 11 months ago.

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

Description

When running layout.test.js a console error occurs:

console.error node_modules/jest-prop-type-error/index.js:8
    Warning: The tag <notification> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.
        in notification (created by UserDropdowns)
        in li (created by NavItem)
        in NavItem (created by UserDropdowns)
        in ul (created by Nav)
        in Nav (created by VerticalNav.IconBar)
        in nav (created by VerticalNav.IconBar)
        in VerticalNav.IconBar (created by UserDropdowns)
        in UserDropdowns (created by Layout)
        in BaseVerticalNavMasthead (created by VerticalNav.Masthead)
        in VerticalNav.Masthead (created by Layout)
        in nav (created by BaseVerticalNav)
        in Unknown (created by withContext(Component))

Associated revisions

Revision edc0a1c7 (diff)
Added by Amir Fefer 11 months ago

Fixes #25752 - fix console error in js test

History

#1 Updated by The Foreman Bot 11 months ago

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

#2 Updated by Ohad Levy 11 months ago

  • Target version set to 1.21.0
  • Fixed in Releases 1.21.0 added

#3 Updated by Amir Fefer 11 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF