Fixed and simplified tests
Gave buttons IDs for ease of access, fixed `fit-to` testing to better reflect purpose, and fixed occasional timing error in `testSkipFrame` caused by call overlap
This commit is contained in:
parent
019f61fda1
commit
5283e234a1
4 changed files with 16 additions and 16 deletions
|
|
@ -321,7 +321,7 @@ class Config extends React.Component {
|
|||
</tr>
|
||||
<tr>
|
||||
<td className="top">
|
||||
<button className="btn btn-default" type="submit">Save</button>
|
||||
<button id="btn-save-tlog-conf" className="btn btn-default" type="submit">Save</button>
|
||||
</td>
|
||||
<td>
|
||||
<span style={{display: this.state.submitting}}>Saving...</span>
|
||||
|
|
@ -461,7 +461,7 @@ class SssdConfig extends React.Component {
|
|||
</tr>
|
||||
}
|
||||
<tr>
|
||||
<td><button className="btn btn-default" type="submit">Save</button></td>
|
||||
<td><button id="btn-save-sssd-conf" className="btn btn-default" type="submit">Save</button></td>
|
||||
<td>
|
||||
<span style={{display: this.state.submitting}}>Saving...</span>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -1276,7 +1276,7 @@ export class Player extends React.Component {
|
|||
onClick={this.speedUp}>
|
||||
x2
|
||||
</button>
|
||||
<span>{speedStr}</span>
|
||||
<span id="player-speed">{speedStr}</span>
|
||||
<span style={to_right}>
|
||||
<span className="session_time">{formatDuration(this.currentTsPost)} / {formatDuration(this.buf.pos)}</span>
|
||||
<button id="player-drag-pan" title="Drag'n'Pan" type="button" className="btn btn-default btn-lg"
|
||||
|
|
|
|||
|
|
@ -970,7 +970,7 @@ class View extends React.Component {
|
|||
<label className="control-label" htmlFor="config">{_("Configuration")}</label>
|
||||
</td>
|
||||
<td className="top">
|
||||
<button className="btn btn-default" onClick={this.openConfig}><i className="fa fa-cog" aria-hidden="true" /></button>
|
||||
<button id="btn-config" className="btn btn-default" onClick={this.openConfig}><i className="fa fa-cog" aria-hidden="true" /></button>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue