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 12, 2019
1 parent 5e9db37 commit 4b23324
Show file tree
Hide file tree
Showing 50 changed files with 58 additions and 4,541 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 Expand Up @@ -56,7 +56,7 @@
</div>
<!-- Memory -->
<div flex="10">
<span class="che-list-item-secondary" devfile-memory="{{devfile.globalMemoryLimit}}">{{devfile.globalMemoryLimit}}</span>
<span class="che-list-item-secondary" devfile-memory="{{devfile.globalMemoryLimit}}">{{devfile.globalMemoryLimit | changeMemoryUnit:['MB','GB']}}</span>
</div>
</div>
</div>
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 4b23324

Please sign in to comment.