Update Ruby tests for standalone with passthrough mode
@@ -26,18 +26,31 @@ module Selenium
not_compliant_on browser: [:firefox, :ie, :edge, :ff_nightly] do
describe 'logs' do
compliant_on driver: :remote do
+ not_compliant_on browser: :phantomjs do
it 'can fetch remote log types' do
- expect(driver.manage.logs.available_types).to include(:server, :client)
+ expect(driver.manage.logs.available_types).to include(:server, :browser, :driver)
+ end
+ end
+
+ compliant_on browser: :phantomjs do
+ it 'can fetch remote log types' do
+ expect(driver.manage.logs.available_types).to include(:server, :browser, :har)
+ end
end
end
- # Phantomjs Returns har instead of driver
not_compliant_on browser: :phantomjs do
it 'can fetch available log types' do
expect(driver.manage.logs.available_types).to include(:browser, :driver)
end
end
+ compliant_on browser: :phantomjs do
+ it 'can fetch available log types' do
+ expect(driver.manage.logs.available_types).to include(:browser, :har)
+ end
+ end
+
# All other browsers show empty
compliant_on browser: [:firefox, :ff_esr, :ff_nightly] do
it 'can get the browser log' do
