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

Fix selenium tests #13371

Merged
merged 2 commits into from
May 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public enum Stack {
DOT_NET("dotnet"),
ANDROID("android-default"),
CPP("cpp-default"),
CAMEL_SPRINGBOOT_CHE7("apache-camel-springboot-che7"),
CAMEL_SPRINGBOOT("apache-camel-springboot"),
CENTOS_BLANK("centos"),
CENTOS_GO("centos-go"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@ public class AddOrImportProjectFormTest {
private static final String EXPECTED_CONSOLE_REPOSITORY_URL =
"https://github.com/che-samples/console-java-simple.git";
private static final String BLANK_FORM_DESCRIPTION = "example of description";
private static final String SPRING_FUSE_SAMPLE = "fuse-rest-http-booster";
private static final String CUSTOM_BLANK_PROJECT_NAME = "blank-project";
private static final String BLANK_PROJECT_NAME = "blank";
private static final String BLANK_DEFAULT_URL = "https://github.com/che-samples/blank";
private static final ImmutableMap<String, String> EXPECTED_SAMPLES_WITH_DESCRIPTIONS =
ImmutableMap.of(
SPRING_SAMPLE_NAME,
"A basic example using Spring servlets. The app returns values entered into a submit form.",
SPRING_FUSE_SAMPLE,
"Fuse booster.",
CONSOLE_SAMPLE_NAME,
"A hello world Java application.");
private static final String EXPECTED_TEXT_IN_EDITOR =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.ANDROID;
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.BLANK;
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.CAMEL_SPRINGBOOT;
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.CAMEL_SPRINGBOOT_CHE7;
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.CENTOS_BLANK;
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.CENTOS_GO;
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.CENTOS_NODEJS;
Expand Down Expand Up @@ -89,6 +90,7 @@ public class NewWorkspacePageTest {
DOT_NET_DEFAULT,
DOT_NET,
ANDROID,
CAMEL_SPRINGBOOT_CHE7,
CPP,
CHE_7_PREVIEW,
CHE_7_PREVIEW_DEV,
Expand All @@ -112,6 +114,7 @@ public class NewWorkspacePageTest {
DOT_NET_DEFAULT,
DOT_NET,
ANDROID,
CAMEL_SPRINGBOOT_CHE7,
CPP,
CHE_7_PREVIEW,
CHE_7_PREVIEW_DEV,
Expand All @@ -136,6 +139,7 @@ public class NewWorkspacePageTest {
DOT_NET_DEFAULT,
DOT_NET,
ANDROID,
CAMEL_SPRINGBOOT_CHE7,
CPP,
ECLIPSE_CHE,
GO_DEFAULT,
Expand All @@ -156,6 +160,7 @@ public class NewWorkspacePageTest {
DOT_NET_DEFAULT,
DOT_NET,
ANDROID,
CAMEL_SPRINGBOOT_CHE7,
CAMEL_SPRINGBOOT,
CPP,
CENTOS_BLANK,
Expand Down Expand Up @@ -188,6 +193,7 @@ public class NewWorkspacePageTest {
DOT_NET_DEFAULT,
DOT_NET,
ANDROID,
CAMEL_SPRINGBOOT_CHE7,
CAMEL_SPRINGBOOT,
CPP,
CENTOS_BLANK,
Expand Down Expand Up @@ -220,6 +226,7 @@ public class NewWorkspacePageTest {
DOT_NET_DEFAULT,
DOT_NET,
ANDROID,
CAMEL_SPRINGBOOT_CHE7,
CAMEL_SPRINGBOOT,
CPP,
CENTOS_BLANK,
Expand Down Expand Up @@ -271,6 +278,7 @@ public class NewWorkspacePageTest {
CHE_7_PREVIEW_DEV,
CHE_7_PREVIEW,
CPP,
CAMEL_SPRINGBOOT_CHE7,
ANDROID,
DOT_NET,
DOT_NET_DEFAULT);
Expand All @@ -294,6 +302,7 @@ public class NewWorkspacePageTest {
CHE_7_PREVIEW_DEV,
CHE_7_PREVIEW,
CPP,
CAMEL_SPRINGBOOT_CHE7,
ANDROID,
DOT_NET,
DOT_NET_DEFAULT);
Expand All @@ -315,6 +324,7 @@ public class NewWorkspacePageTest {
GO_DEFAULT,
ECLIPSE_CHE,
CPP,
CAMEL_SPRINGBOOT_CHE7,
ANDROID,
DOT_NET,
DOT_NET_DEFAULT);
Expand Down