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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-toggling-expected.txt

Issue 2116013002: Convert video-controls* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment 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
OLDNEW
(Empty)
1 Tests that showing / hiding video controls uses the sets the display:none proper ty
2
3 ** Playing the video **
4 RUN(video.play())
5
6 ** Move mouse somewhere over the panel **
7 RUN(eventSender.mouseMoveTo(muteButtonCoordinates[0], muteButtonCoordinates[1]))
8
9 ** Test that controls are shown when controls attribute is present **
10 EXPECTED (panel.style['display'] != 'none') OK
11
12 ** Move mouse outside the video **
13 RUN(eventSender.mouseMoveTo(video.offsetLeft, video.offsetTop + 2 * video.offset Height))
14
15 ** The controls should have the display property set to none
16 EXPECTED (panel.style['display'] == 'none') OK
17
18 ** Remove controls attribute**
19 RUN(video.removeAttribute('controls'))
20
21 ** Move mouse back over the panel **
22 RUN(eventSender.mouseMoveTo(muteButtonCoordinates[0], muteButtonCoordinates[1]))
23
24 ** Video controls should not be shown **
25 EXPECTED (panel.style['display'] == 'none') OK
26
27 END OF TEST
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698