cerner / terra-graphs

A lightweight, JavaScript visualization API built using D3. Includes a vanilla javascript and react implementation.
Apache License 2.0
7 stars 6 forks source link

Update terra-functional-testing to 4 #316

Closed sdadn closed 11 months ago

sdadn commented 1 year ago

Summary

This PR updates terra-functional-testing to 4. As part of that upgrade, webpack was updated to 5 and npm 9 support was added.

Note: graphs only had the default-theme screenshots generated.

Testing

This change was tested using:

In addition to to wdio tests, this was tested by running npm start successfully after the webpack upgrade.

Reviews

In addition to engineering reviews, this PR needs:

Additional Details

This PR resolves: UXPLATFORM-9601


Thank you for contributing to Terra. @cerner/terra

sdadn commented 12 months ago

Note: This PR will not pass the build as webpack 5 is not compatible with the current Karma 6. @adoroshk and I tried looking for an easy solution to address the incompatibility, however we couldn't find a quick & easy fix. At this point, it's better to switch over to Jest for better compatibility with the rest of the Terra ecosystem, then investing in extended time for a temporary fix. That work will be done in a subsequent PR/Jira.