Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu-expected.txt

Issue 2121613002: Convert video-controls-[captions, overlay, track]* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nit Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test that we can display a track list menu and select tracks from the list
2 EVENT(canplaythrough)
3
4 ** Caption button should be visible and enabled.
5 EXPECTED (captionsButtonCoordinates[0] > '0') OK
6 EXPECTED (captionsButtonCoordinates[1] > '0') OK
7 EXPECTED (captionsButtonElement.disabled == 'false') OK
8
9 EXPECTED (video.textTracks.length == '2') OK
10 EXPECTED (video.textTracks[0].mode == 'hidden') OK
11 EXPECTED (video.textTracks[1].mode == 'hidden') OK
12
13 Select track 0 and verify it is displayed
14 *** Click the CC button.
15 EXPECTED (video.textTracks[0].mode == 'showing') OK
16 EXPECTED (video.textTracks[1].mode == 'hidden') OK
17 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem') OK
18
19 Select track 1 and verify it is displayed
20 *** Click the CC button.
21 EXPECTED (video.textTracks[0].mode == 'disabled') OK
22 EXPECTED (video.textTracks[1].mode == 'showing') OK
23 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'first caption' ) OK
24
25 END OF TEST
26
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698