diff --git a/test/browser/features/lib/browser.rb b/test/browser/features/lib/browser.rb index 3b0fd4a4c..aa71d1031 100644 --- a/test/browser/features/lib/browser.rb +++ b/test/browser/features/lib/browser.rb @@ -15,13 +15,7 @@ def initialize(browser_spec) end end - def name - @name - end - - def version - @version - end + attr_reader :name, :version # is this a mobile device? # we assume that android devices are always using the latest version of chrome @@ -71,20 +65,6 @@ def supported_web_vitals end end - # | browser | version | - # | chrome | 54 | - # | firefox | 45 | - # | edge | 17 | - # | safari | 16.4 | - def supports_performance_encoded_body_size? - case @name - when "safari" - @version >= 17 # we test on 16.3 - not sure what to do here? - else - true - end - end - def supports_performance_response_status? case @name when "chrome", "edge"