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 smoke test for production build #12965

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

planger
Copy link
Contributor

@planger planger commented Sep 30, 2023

What it does

Currently we don't seem to have any automated test that verifies whether the production build works as expected.
For a recent issue and its root cause, which remained unrevealed by the CI, see #12962.

With this PR, we add a new Github workflow, which builds the example browser app in production mode and runs a simple smoke test. This smoke test just opens the app and awaits the loading spinner to disappear and expects the workbench to be visible within a certain timeframe.

Contributed on behalf of STMicroelectronics

How to test

The check should be green after #12964 is merged.

Follow-ups

None

Review checklist

Reminder for reviewers

Currently we don't seem to have any automated test that verifies whether
the production build works as expected.

For a recent issue and its root cause, which remained unrevealed by the
CI, see
eclipse-theia#12962

Contributed on behalf of STMicroelectronics

Change-Id: Ia2fdb54873344e5d0da12522441a649b6b90bdac
@planger
Copy link
Contributor Author

planger commented Nov 9, 2023

@msujew Sorry for the ping, do you have time to review this change? If not, let me know. Thank you!

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Looks pretty good 👍

.github/workflows/production-smoke-test.yml Outdated Show resolved Hide resolved
@planger planger requested a review from msujew November 16, 2023 12:50
@planger planger merged commit 13a7708 into eclipse-theia:master Nov 16, 2023
14 checks passed
@planger planger deleted the add-production-smoke-test branch November 16, 2023 13:13
@planger planger added this to the 1.44.0 milestone Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants