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

Selenium: fix unstable selenium tests #9205

Merged
merged 3 commits into from
Mar 23, 2018
Merged

Conversation

SkorikSergey
Copy link
Contributor

@SkorikSergey SkorikSergey commented Mar 23, 2018

What does this PR do?

This PR:

  • don't check that workspace has STOPPING status before removing in DeleteRunningWorkspaceTest test;
  • check that Project Explorer is visible before switching to IDE frame;
  • don't check workspace STOPPING status before restarting it in CheckRestoringWorkspaceAfterStoppingWsAgentProcess.

What issues does this PR fix or reference?

#9100, #9202

@SkorikSergey SkorikSergey added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. team/che-qe labels Mar 23, 2018
@@ -71,7 +68,6 @@ public void checkRestoreWsAgentByApi() throws Exception {

notificationsPopupPanel.waitWorkspaceAgentIsNotRunning();
Copy link
Contributor

@dmytro-ndp dmytro-ndp Mar 23, 2018

Choose a reason for hiding this comment

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

I would check that workspace has status "STOPPED" after notificationsPopupPanel.waitWorkspaceAgentIsNotRunning();

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually workspace has status "RUNNING" even when ws-agent is stopped.

@SkorikSergey SkorikSergey merged commit 953781e into master Mar 23, 2018
@SkorikSergey SkorikSergey deleted the fixUnstableSeleniumTests branch March 23, 2018 14:04
@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 Mar 23, 2018
@benoitf benoitf added this to the 6.3.0 milestone Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants