-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 README.md with describing test scenario for WTO #23127
Conversation
|
||
5. Verify Admin Session: | ||
* Execute the command oc whoami and verify that the session is running under the admin user. | ||
* Since the terminal is canvas-based and difficult to read with WebDriver, read the DevWorkspace object, parse the YAML, and extract the username. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean "and extract the username manually"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means we get webterminal object in YAML format (oc get dw -n -o yaml), parse it, and make sure, that we have been logged in as the proper user. YAML.parse(devWorkspaceYaml).items[0].metadata.name
const devWorkspaceYaml: string = shellExecutor.executeArbitraryShellScript( |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm not following why we are having WTO! test scenario in Eclipse Che upstream ?
|
I created a dedicated issue for that because the problem is more complex and includes not test scenario: https://issues.redhat.com/projects/WTO/issues/WTO-308 |
What does this PR do?
During the setup interop testing for WTO, we need a description of the test scenario.
Screenshot/screencast of this PR
What issues does this PR fix or reference?
https://issues.redhat.com/browse/WTO-304
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.