-
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
Create tests for the "Typescript" and "Node-debug2" plugins #19474
Create tests for the "Typescript" and "Node-debug2" plugins #19474
Conversation
Signed-off-by: Ihor Okhrimenko <[email protected]>
Signed-off-by: Ihor Okhrimenko <[email protected]>
Signed-off-by: Ihor Okhrimenko <[email protected]>
Signed-off-by: Ihor Okhrimenko <[email protected]>
Signed-off-by: Ihor Okhrimenko <[email protected]>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
import { Logger } from './Logger'; | ||
|
||
@injectable() | ||
export class BrowserTabsUtil { |
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.
This class is mirroring some behavior from DriverHelper
and is actually duplicating some of the methods there.
As the DriverHelper
class is quite long, I'm +1 for moving all Tabs related functions here - like for example those methods:
- getCurrentUrl
- waitURL
- navigateAndWaitToUrl
- navigateToUrl
- reloadPage
- maximize
WDYT?
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.
The idea is good but doesn't look so easy, I guess a lot of tests should be updated. We can create an issue for that.
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.
As I skimmed the usage of those methods, I don't think it's something taking more than half a day/one day of work (changes + some basic testing) so I would prefer to have that done together in one PR. If you're not willing to do that now, then please create the issue.
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.
I was thinking more in line of marking the DriverHelper methods as deprecated in this PR and removing them in few released in separate PR.
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.
As I skimmed the usage of those methods, I don't think it's something taking more than half a day/one day of work (changes + some basic testing) so I would prefer to have that done together in one PR. If you're not willing to do that now, then please create the issue.
I strongly disagree with that.
I don't have a day for spending it with such issue with low priority.
I have a lot of tasks with much highest priority.
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.
Suggested methods marked as "@deprecated".
The dedicated issue for refactoring created: #19484
Signed-off-by: Ihor Okhrimenko <[email protected]>
Signed-off-by: Ihor Okhrimenko <[email protected]>
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
[crw-ci-test --rebuild] |
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)
|
What does this PR do?
Create tests for the "Typescript" and "Node-debug2" plugins
Screenshot/screencast of this PR
test-log.log
What issues does this PR fix or reference?
Issue: #19438
Issue: #19462
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.