Skip to content

Small fixups for git package#10432

Merged
tolusha merged 1 commit into5730_java_ls_pocfrom
SeleniumTestFix
Jul 16, 2018
Merged

Small fixups for git package#10432
tolusha merged 1 commit into5730_java_ls_pocfrom
SeleniumTestFix

Conversation

@tolusha
Copy link
Copy Markdown
Contributor

@tolusha tolusha commented Jul 16, 2018

Signed-off-by: Anatoliy Bazko abazko@redhat.com

What does this PR do?

Fix selenium tests in git package

What issues does this PR fix or reference?

#10431

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
@tolusha tolusha requested review from svor and tsmaeder July 16, 2018 12:08
@tolusha tolusha requested a review from vparfonov as a code owner July 16, 2018 12:08
@benoitf benoitf added kind/task Internal things, technical debt, and to-do tasks to be performed. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. target/branch Indicates that a PR will be merged into a branch other than master. labels Jul 16, 2018
testProjectServiceClient.importProject(
ws.getId(), Paths.get(resource.toURI()), PROJECT_NAME, ProjectTemplates.MAVEN_SPRING);
ide.open(ws);
consoles.waitJDTLSProjectResolveFinishedMessage(PROJECT_NAME);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we need to wait for jdt.ls project import here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Rename operation is perform during the test. It fails when jdt.ls isn't started.

public void prepare() throws Exception {
URL resource = getClass().getResource("/projects/git-pull-test");
testUserPreferencesServiceClient.addGitCommitter(gitHubUsername, productUser.getEmail());
URL resource = getClass().getResource("/projects/git-pull-test");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Random change or does this fix something?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Random change.

URL resource = getClass().getResource("/projects/git-pull-test");
testProjectServiceClient.importProject(
ws.getId(), Paths.get(resource.toURI()), PROJECT_NAME, ProjectTemplates.MAVEN_SPRING);
ws.getId(), Paths.get(resource.toURI()), PROJECT_NAME, ProjectTemplates.NODE_JS);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Again, why is this necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It isn't a maven project.
If we keep maven template then jdt.ls seems continuously import the project.

@tolusha tolusha merged commit afe5fe0 into 5730_java_ls_poc Jul 16, 2018
@tolusha tolusha deleted the SeleniumTestFix branch July 16, 2018 13:40
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 16, 2018
tsmaeder pushed a commit that referenced this pull request Jul 27, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tolusha added a commit that referenced this pull request Aug 7, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Aug 22, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Aug 29, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tolusha added a commit that referenced this pull request Sep 5, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Sep 13, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Sep 20, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Sep 26, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 1, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 5, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 12, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 16, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants