Project

General

Profile

Bug #31477

JS import from deprecated API.js is causing test issues

Added by John Mitsch 12 months ago. Updated 12 months ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
Tests
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Katello tests are failing with:

FAIL webpack/scenes/ModuleStreams/__tests__/ModuleStreamPage.test.js

[2020-12-08T16:47:10.010Z] ��� Test suite failed to run

[2020-12-08T16:47:10.010Z]

[2020-12-08T16:47:10.010Z] TypeError: Cannot read property 'default' of undefined

[2020-12-08T16:47:10.010Z]
Katello tests are failing with:

FAIL webpack/scenes/ModuleStreams/__tests__/ModuleStreamPage.test.js

[2020-12-08T16:47:10.010Z] ��� Test suite failed to run

[2020-12-08T16:47:10.010Z]

[2020-12-08T16:47:10.010Z] TypeError: Cannot read property 'default' of undefined

[2020-12-08T16:47:10.010Z]

[2020-12-08T16:47:10.010Z]

[2020-12-08T16:47:10.010Z]

[2020-12-08T16:47:10.010Z] at Object.API (foreman/webpack/assets/javascripts/react_app/redux/API/index.js:34:16)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/API.js:10:16)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/actions/common/index.js:1:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokensActions.js:4:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokens.js:5:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/index.js:1:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/reducers/index.js:24:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/index.js:4:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/foreman_navigation.js:6:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/foreman_tools.js:12:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/API/API.js:3:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/API/index.js:8:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/Settings/SettingsActions.js:1:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/components/Search/index.js:3:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/components/Content/ContentPage.js:4:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/scenes/ModuleStreams/ModuleStreamsPage.js:7:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/scenes/ModuleStreams/__tests__/ModuleStreamPage.test.js:4:1)

[2020-12-08T16:47:10.010Z]

[2020-12-08T16:47:10.010Z]

[2020-12-08T16:47:10.010Z] at Object.API (foreman/webpack/assets/javascripts/react_app/redux/API/index.js:34:16)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/API.js:10:16)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/actions/common/index.js:1:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokensActions.js:4:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/PersonalAccessTokens.js:5:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/users/PersonalAccessTokens/index.js:1:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/reducers/index.js:24:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/index.js:4:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/foreman_navigation.js:6:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/foreman_tools.js:12:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/API/API.js:3:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/redux/API/index.js:8:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (foreman/webpack/assets/javascripts/react_app/components/Settings/SettingsActions.js:1:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/components/Search/index.js:3:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/components/Content/ContentPage.js:4:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/scenes/ModuleStreams/ModuleStreamsPage.js:7:1)

[2020-12-08T16:47:10.010Z] at Object.<anonymous> (webpack/scenes/ModuleStreams/__tests__/ModuleStreamPage.test.js:4:1)

[2020-12-08T16:47:10.010Z]

History

#1 Updated by The Foreman Bot 12 months ago

  • Assignee set to John Mitsch
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8191 added

Also available in: Atom PDF