Skip to content

Commit 831a914

Browse files
committed
fixed a bug where the command column wouldnt color on successful playback
1 parent 9902805 commit 831a914

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/selenium-ide/src/neo/components/TestRow/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ class TestRow extends React.Component {
223223
<td className={classNames("comment", {"cell__hidden": !this.props.command.comment})} colSpan="3">
224224
<span>{this.props.command.comment}</span>
225225
</td>
226-
<td className={classNames({"cell__alternate": this.props.command.comment})}>
227-
<span className="command"><CommandName>{this.props.command.command}</CommandName></span>
226+
<td className={classNames("command", {"cell__alternate": this.props.command.comment})}>
227+
<CommandName>{this.props.command.command}</CommandName>
228228
</td>
229229
<td className={classNames({"cell__alternate": this.props.command.comment})}><MultilineEllipsis lines={3}>{this.props.command.target}</MultilineEllipsis></td>
230230
<td className={classNames({"cell__alternate": this.props.command.comment})}><MultilineEllipsis lines={3}>{this.props.command.value}</MultilineEllipsis></td>

packages/selenium-ide/src/neo/components/TestRow/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@
8484
float: right;
8585
}
8686

87+
.test-table td.command {
88+
color: #8B8B8B;
89+
}
90+
8791
.test-table tbody tr.passed td {
8892
color: #008425;
8993
}
@@ -109,10 +113,6 @@
109113
word-break: keep-all;
110114
}
111115

112-
.test-table td .command {
113-
color: #8B8B8B;
114-
}
115-
116116
.test-table .cell__hidden {
117117
display: none;
118118
}

0 commit comments

Comments
 (0)