Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper script that runs chromium. #1704

Merged
merged 3 commits into from
Mar 30, 2023
Merged

Conversation

jpwhite4
Copy link
Member

The feature that we were previously using in chromium_headless v110 and earlier seems to have been removed in v111. This changes the code to use puppeteer-core to interact with chromium.

This change is intended to be a drop in replacement: The portal_settings config that specifies the path to chromium is still used and we package the puppeteer code so no need for post install steps.

@jpwhite4 jpwhite4 force-pushed the chromium111 branch 2 times, most recently from a93300c to 4fdac2c Compare March 23, 2023 00:55
The feature that we were previously using in chromium_headless v110 and
earlier seems to have been removed in v111. This changes the code
to use puppeteer-core to interact with chromium.

This change is intended to be a drop in replacement: The portal_settings
config that specifies the path to chromium is still used and we package the
puppeteer code so no need for post install steps.
Copy link
Contributor

@ryanrath ryanrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the only question I have is would this be the right time to add the regression tests back in?

The Centos 7 builds use the software collections feature to run the
UI tests with nodejs 6.

The Rocky 8 builds download node 10 and use this for the UI tests.
@jpwhite4
Copy link
Member Author

So the only question I have is would this be the right time to add the regression tests back in?

I've manually regression tested by running the old code, and this code in centos7 and rocky8 in three different dockers then exporting some charts. Then used an online image difference checker tool to confirm the output is the same (https://www.diffchecker.com/image-compare/)

image

@ryanrath ryanrath self-requested a review March 30, 2023 13:43
@jpwhite4 jpwhite4 merged commit 60d97c8 into ubccr:xdmod10.0 Mar 30, 2023
@jpwhite4 jpwhite4 deleted the chromium111 branch March 30, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants