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 fixes for Jupyter oauth caching and workbenches xpaths #871

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

lugi0
Copy link
Contributor

@lugi0 lugi0 commented Aug 9, 2023

No description provided.

@lugi0 lugi0 added needs testing Needs to be tested in Jenkins enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes) labels Aug 9, 2023
@lugi0 lugi0 self-assigned this Aug 9, 2023
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jgarciao jgarciao requested review from mwaykole and aloganat August 9, 2023 11:09
@@ -288,7 +288,7 @@ Spawn Notebook With Arguments # robocop: disable
END
END
Spawn Notebook ${spawner_timeout} ${same_tab}
Run Keyword And Continue On Failure Wait Until Page Contains Log in with OpenShift timeout=15s
Run Keyword And Warn On Failure Wait Until Page Contains Log in with OpenShift timeout=15s
Copy link
Contributor

Choose a reason for hiding this comment

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

Why Run Keyword And Warn On Failure?
Didn't understand why the element can be or not there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In a single user session it will only appear the first time the user tries to access a notebook/workbench, and after that it's cached.
The wait is still important otherwise the following keyword could miss the actual oauth login page, but we don't want to raise a failure in case it does not appear due to caching

Copy link
Contributor

Choose a reason for hiding this comment

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

I approved. Curious, why not handle that into the Log in with OpenShift?

@diegolovison diegolovison merged commit 77cc822 into red-hat-data-services:master Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes) needs testing Needs to be tested in Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants