From 26739d3d1c6dcae13e2ea1018eb17e11e4d7a314 Mon Sep 17 00:00:00 2001 From: Augustin Gottlieb <33221555+aguspe@users.noreply.github.com> Date: Sun, 24 Nov 2024 21:55:42 +0100 Subject: [PATCH] Prepare for beta (#131) --- lib/generators/templates/common/gemfile.tt | 2 +- lib/generators/templates/common/partials/web_config.tt | 6 +++--- .../templates/helpers/partials/driver_and_options.tt | 2 +- lib/version | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/generators/templates/common/gemfile.tt b/lib/generators/templates/common/gemfile.tt index 5cf3fa8..e985bbe 100644 --- a/lib/generators/templates/common/gemfile.tt +++ b/lib/generators/templates/common/gemfile.tt @@ -33,7 +33,7 @@ gem 'rubocop' <%- if rspec? -%> gem 'rubocop-rspec' <%- end -%> -gem 'ruby_raider', '~> 1.0.0' +gem 'ruby_raider', '~> 1.1.0' <%- if selenium_based? %> gem 'selenium-webdriver' <%- end -%> diff --git a/lib/generators/templates/common/partials/web_config.tt b/lib/generators/templates/common/partials/web_config.tt index 9e6ecd0..1eee5d0 100644 --- a/lib/generators/templates/common/partials/web_config.tt +++ b/lib/generators/templates/common/partials/web_config.tt @@ -1,4 +1,4 @@ -browser: :chrome +browser: chrome url: 'https://automationteststore.com/' <%- if selenium_based? -%> @@ -8,11 +8,11 @@ driver_options: <% end -%> browser_arguments: - :chrome: + chrome: - no-sandbox - disable-dev-shm-usage - ignore-certificate-errors - search-engine-choice-country - :firefox: + firefox: - acceptInsecureCerts - no-sandbox \ No newline at end of file diff --git a/lib/generators/templates/helpers/partials/driver_and_options.tt b/lib/generators/templates/helpers/partials/driver_and_options.tt index 9ddf914..56fe605 100644 --- a/lib/generators/templates/helpers/partials/driver_and_options.tt +++ b/lib/generators/templates/helpers/partials/driver_and_options.tt @@ -8,7 +8,7 @@ <% elsif selenium_based? -%> def create_driver(*opts) @config = YAML.load_file('config/config.yml') - browser = @config['browser'].to_sym + browser = @config['browser'] Selenium::WebDriver.for(browser, options: create_webdriver_options(*opts)) end diff --git a/lib/version b/lib/version index 66c4c22..9084fa2 100644 --- a/lib/version +++ b/lib/version @@ -1 +1 @@ -1.0.9 +1.1.0