Skip to content

test (e2e) : Add basic E2E test scenario to verify dev workspace changes are persisted across restarts #1469

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rohanKanojia
Copy link
Collaborator

What does this PR do?

This PR adds an E2E test to make sure that any changes made to Dev Workspace are persisted when we start and stop a workspace.

What issues does this PR fix or reference?

Fix #1467

Is it tested? How?

You can test it using make test_e2e command on any OpenShift cluster. You will also need to cherry-pick changes added in #1465 to avoid serviceaccount token error.

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

Copy link

openshift-ci bot commented Jul 16, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link

openshift-ci bot commented Jul 16, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rohanKanojia
Once this PR has been reviewed and has the lgtm label, please assign dkwon17 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rohanKanojia
Copy link
Collaborator Author

/ok-to-test

@rohanKanojia rohanKanojia force-pushed the pr/devworkspace-restart-test branch from 0ef8455 to b75a204 Compare July 16, 2025 15:19
…ges are persisted across restarts

Signed-off-by: Rohan Kumar <[email protected]>
@rohanKanojia rohanKanojia force-pushed the pr/devworkspace-restart-test branch from b75a204 to 1df372c Compare July 16, 2025 16:17
@rohanKanojia
Copy link
Collaborator Author

/ok-to-test

@rohanKanojia rohanKanojia marked this pull request as ready for review July 16, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add E2E test to verify that DevWorkspace contents are persisted during restarts
1 participant