Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
443 rcycle@main #637
443 rcycle@main #637
Changes from 32 commits
3603e96
d38e539
a8b62f6
ff80b88
11f5979
9641494
dd18019
4dc2c39
622298e
49172ca
48b4705
c10460d
6714ce1
78253d2
e9a7256
8bd492a
a993b82
4e7b7a1
24287d2
bffed58
d2ba775
80a5edd
edd249b
21cdb5f
4186205
9302e18
201fbf3
cb249d9
24fc94f
7dd56d6
9af939c
0e339a5
f49e165
efedccd
5798846
9fad112
7a78a84
5588fc0
d06502e
da4f8ed
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Here is my proposed refactor that keeps the spirit of the original and does away with some of the bloat. I have troubles testing this, but once launched it does click on the first tab. I do not know how to test the business logic properly.
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.
Nice update, still I think the current code is more clear as sb know that we are
wait_for_element
to click sth.The
wait_for_element
function could be useful in the future, and it is only 20 lines of code.If you want to test business logic you should run any of our apps and the shiny
input
should contains all variables from the first line of any of the executed module server.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.
That is what I did while testing and there was no change between the current state of the pr and my proposed solution when comparing available values of input from a browser put in the first line of the scatterplot module.
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.
If you are worried about the readability, then we can change the name of the observer for something meaningful like: tealTabsObserver or if needed a very verbose: clickFirstTealTabWhenAvailable XD