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:
Benjamin Graham 2020-05-27 09:40:44 -04:00 committed by Justin Stephenson
parent 019f61fda1
commit 5283e234a1
4 changed files with 16 additions and 16 deletions

View file

@ -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"