Project

General

Profile

Bug #29637

Allow use of foremanReact from foreman in React tests

Added by John Mitsch 6 months ago. Updated 17 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

We used to mock foremanReact, but we can use it directly from the sibling foreman directory during testing through jest (the react test runner) configuration.

Associated revisions

Revision cb8ed4df (diff)
Added by John Mitsch 6 months ago

Fixes #29637 - Allow jest test to use foremanReact

Jest allows local modules to be specified by path, which allows us to use foremanReact as long as foreman is present in a sibling directory to Katello

History

#1 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8682 added

#2 Updated by John Mitsch 6 months ago

  • Description updated (diff)

#3 Updated by Chris Roberts 6 months ago

  • Triaged changed from No to Yes

#4 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases added

#5 Updated by John Mitsch 6 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Jonathon Turel 5 months ago

  • Target version changed from 1223 to Katello 3.16.0

#7 Updated by Jonathon Turel 17 days ago

  • Fixed in Releases Katello 3.17.0 added
  • Fixed in Releases deleted ()
  • Pull request deleted (https://github.com/Katello/katello/pull/8682)

Also available in: Atom PDF