Skip to content

Commit

Permalink
Report fixes and color updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vptes1 committed Nov 10, 2019
1 parent 1e9c0e1 commit 4a73194
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.6.10

- Fixed blank elapsed counter in a stopped run's report
- Updated colors in report

## 1.6.9

- Polyfilled EF injected js to work with IE11/Edge
Expand Down
6 changes: 3 additions & 3 deletions examples/web-ui/todomvc/implementation.smash
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
Create note 'one'

* When the X next to a note is clicked
Hover over 'item, 1st'
Hover over '1st item'
Click 'delete button'

* Then it will be deleted
Expand Down Expand Up @@ -84,7 +84,7 @@
Create note 'three'

* When the X next to a note is clicked
Hover over 'item, 2nd'
Hover over '2nd item'
Click 'delete button'

* Then it will be deleted {
Expand Down Expand Up @@ -113,7 +113,7 @@
Create note 'one'

* When the X next to a note is clicked
Hover over 'item, 2nd'
Hover over '2nd item'
Click 'delete button'

* Then it will be deleted {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "smashtest",
"version": "1.6.9",
"version": "1.6.10",
"description": "smashtest",
"keywords": [
"smashtest",
Expand Down
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const PROGRESS_BAR_ON = true;
let fullRun = false;

console.log(hRule);
console.log(yellowChalk.bold("Smashtest 1.6.9"));
console.log(yellowChalk.bold("Smashtest 1.6.10"));
console.log("");

// ***************************************
Expand Down
22 changes: 9 additions & 13 deletions src/report-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
}

.runner-status-msg {
color: #ffb347;
color: #f5b70c;
}

.debug-mode {
Expand Down Expand Up @@ -194,13 +194,13 @@
}

.updates-live .branch-indicator.running {
background-color: orange;
background-color: #f5b70c;
animation: blinker 2s linear infinite;
}

.updates-paused .branch-indicator.running,
.updates-disconnected .branch-indicator.running {
background-color: orange;
background-color: #f5b70c;
}

@keyframes blinker {
Expand Down Expand Up @@ -291,7 +291,7 @@
}

.pill.running {
background-color: orange;
background-color: #f5b70c;
}

.tooltip-text {
Expand Down Expand Up @@ -323,18 +323,14 @@
}

.progress-bar .filled-bar {
background-color: rgb(245,155,0);
background-color: #f5b70c;
color: white;
text-align: center;
height: 100%;
border-radius: 4px;
overflow-x: hidden;
}

/*.progress-bar .filled-bar.paused {
background-color: rgb(70,70,70);
}*/

.progress-bar .filled-bar-text {
position: relative;
top: 2px;
Expand Down Expand Up @@ -363,15 +359,15 @@
}

.updates-live .running-item {
color: orange;
color: #f5b70c;
animation: blinker 2s linear infinite;
}

.updates-paused .running-item,
.updates-disconnected .running-item,
.running-item-no-anim,
.orange-item {
color: orange;
color: #f5b70c;
}

.passed-item {
Expand Down Expand Up @@ -1545,8 +1541,8 @@

render() {
let elapsedText = "";
let elapsed = this.props.data.tree.elapsed;
if(typeof elapsed != undefined && elapsed != -1) {
let elapsed = this.props.data.tree.elapsed || -1;
if(elapsed != -1) {
elapsedText = `(${formatElapsed(elapsed)})`;
}

Expand Down

0 comments on commit 4a73194

Please sign in to comment.