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

feature 'network profile events' do

  let(:player_url) { VideoPlayerData.player_stream_url }
  let(:player) { PlayerPage.new('stream') }
  scenario "can get a valid stats for network profile events" do
    skip('Fix in progress')
    PlayerPage.visit_with_localstore_settings(player_url)

    network_stats = PlayerCore.network_stats
    expect(PlayerCore.valid_network_stats?(network_stats[0..10])).to be_truthy
  end
end
