require './core/base/spec_helper'
require './core/twitch/video_player/player_core'

feature 'Play Live' do

  let(:player_url) { PlayerCoreData.player_core_url }

  scenario 'for few seconds and validate time' do
    visit player_url
    expect(PlayerCore).to have_video_container
    expect(PlayerCore.stream_started?).to be_truthy
    expect(PlayerCore.smooth_playhead?(15)).to be_truthy
  end
end
