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

[Test] Use test constants to get OCP user name and password in WorkspaceIdleTimeout test #22818

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

SkorikSergey
Copy link
Contributor

What does this PR do?

WorkspaceIdleTimeout test works only with admin username. To work correcty we need to update login function to use OAUTH_CONSTANTS.TS_SELENIUM_OCP_USERNAME and OAUTH_CONSTANTS.TS_SELENIUM_OCP_PASSWORD constants.

What issues does this PR fix or reference?

https://issues.redhat.com/browse/CRW-5738

How to test this PR?

  1. Set OCP user name and password in OAUTH_CONSTANTS constants for kubeadmin user like here:
    export TS_SELENIUM_OCP_USERNAME="kubeadmin"
    export TS_SELENIUM_OCP_PASSWORD="password"
  2. Start WorkspaceIdleTimeout test and wait that test workspaces stopped by timeout.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@SkorikSergey SkorikSergey added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. area/qe labels Feb 13, 2024
@SkorikSergey SkorikSergey self-assigned this Feb 13, 2024
@che-bot che-bot added the target/branch Indicates that a PR will be merged into a branch other than master. label Feb 13, 2024
Copy link
Contributor

@dmytro-ndp dmytro-ndp left a comment

Choose a reason for hiding this comment

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

looks good to merge

@SkorikSergey SkorikSergey merged commit 8e56965 into main Feb 13, 2024
5 checks passed
@SkorikSergey SkorikSergey deleted the updateWorkspaceIdleTimeoutTest branch February 13, 2024 15:02
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qe kind/task Internal things, technical debt, and to-do tasks to be performed. target/branch Indicates that a PR will be merged into a branch other than master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants