Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add click to start playback and check if video changed #9588

Merged
merged 1 commit into from
Feb 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 2 additions & 12 deletions tests/x11/firefox/firefox_html5.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,9 @@ use testapi;
sub run {
my ($self) = @_;
$self->start_firefox_with_profile;

$self->firefox_open_url('youtube.com/html5');
assert_screen('firefox-html5-youtube');
send_key "pgdn";
send_key "up";
send_key "up";
sleep 1;
assert_screen('firefox-html5-support', 60);

$self->firefox_open_url('youtube.com/watch?v=Z4j5rJQMdOU');
assert_screen('firefox-flashplayer-video_loaded');

# Exit
assert_and_click('firefox-flashplayer-video_loaded');
assert_screen("firefox-testvideo");
$self->exit_firefox;
}
1;