Skip to content

Commit

Permalink
Rework stack tests
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
  • Loading branch information
ashumilova committed Jun 6, 2019
1 parent a4f7a1b commit 43080c1
Show file tree
Hide file tree
Showing 49 changed files with 57 additions and 4,532 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
</che-list-header>
<che-list class="devfile-selector-devfile-list">
<div ng-repeat="devfile in devfileSelectorController.devfiles"
<div ng-repeat="devfile in devfileSelectorController.devfiles" data-devfile-id="{{devfile.displayName}}"
class="devfile-selector-item" ng-class="{'devfile-selector-item-selected': (devfile === devfileSelectorController.selectedDevfile)}">
<che-list-item flex ng-click="devfileSelectorController.devfileOnClick(devfile)">
<div flex="100"
Expand Down
2 changes: 0 additions & 2 deletions dashboard/src/components/api/devfile-registry.factory.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { stringify } from "querystring";

/*
* Copyright (c) 2015-2018 Red Hat, Inc.
* This program and the accompanying materials are made
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,7 @@ private void prepareWorkspace(NewWorkspace.Stack stack, String workspaceName, Do
workspaces.clickOnAddWorkspaceBtn();

newWorkspace.waitToolbar();
newWorkspace.clickOnAllStacksTab();
newWorkspace.selectStack(stack);
newWorkspace.typeWorkspaceName(workspaceName);

if (machineRam != null) {
newWorkspace.setMachineRAM("dev-machine", machineRam);
}
}
}
Loading

0 comments on commit 43080c1

Please sign in to comment.