integration-tests-rails 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d10ed4b78dce98a66176a7e04911af5bada45c544ccf2c6adb979f88315ec68
4
- data.tar.gz: d46b2a963273837d366b710a133b6dfa370c382f057784406f1c24a8e3af1eee
3
+ metadata.gz: 3f81e5fe0f22c24829d3f4de53fa16d00a63869e562c885fc5e186738e7c710f
4
+ data.tar.gz: 6d6826ecf5505342cb930b9f4492247bff5b1f302f88f57e9c978062667669fa
5
5
  SHA512:
6
- metadata.gz: d561dc1ad7ebd82c193f49b51ce4ecd69aa5aca6f6b11866f9cb57c777573fc196549e260aeb9a94dd6dfdeed9bce36e92dc2a3da0ab0f903d0f72a346e18d0b
7
- data.tar.gz: 834a9468ab2b347df5358592cee7928f72c7cfccbbb1758e82c608529050fb83afe9cd83dc7212ccd67b8cee59234fbb46881c091f86453145ba6c77c2e1b2d6
6
+ metadata.gz: 281d2093005d7e9f13298751fa0e11c82485f6717c5ef062cedda1a8abfcc1b4edd246da09dd5d8becf4c04199528a28bc3c42c7514f684c3d13d5d1000f17a5
7
+ data.tar.gz: 11b8ab470fc854fe45b58fb0e908def884c632cee3a39743cb7f0bcfe5323f02ac221976b50ad25cbe2d3907de735c070e5cf00e2e31267608c8c82a01ef9f4e
data/README.md CHANGED
@@ -64,7 +64,7 @@ The `IntegrationTestsRails.setup` method accepts an optional block for further c
64
64
  IntegrationTestsRails.setup do |config|
65
65
  config.auto_retry = false # Whether to automatically wrap all examples inside retry_on_fail block.
66
66
  config.chrome_url = nil # Used for remote Chrome instances. Needs remote to be true.
67
- config.headless = false # Whether to run Chrome in headless mode.
67
+ config.headless = true # Whether to run Chrome in headless mode.
68
68
  config.js_coverage = true # Whether to enable JavaScript coverage using Istanbul.
69
69
  config.max_server_retries = 1000 # Before running the tests, Cuprite starts a server to communicate with Chrome. This sets the maximum number of retries to connect to that server.
70
70
  config.puma_threads = '1:1' # Number of threads for the Puma server used by Cuprite.
@@ -42,13 +42,13 @@ module IntegrationTestsRails
42
42
  :timeout, :server_host, :server_port, :puma_threads, :experimental_features,
43
43
  :retry_attempts, :retry_sleep_duration, :retry_capture_exceptions, :headless
44
44
 
45
- def initialize # rubocop:disable Metrics/MethodLength
45
+ def initialize # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
46
46
  @auto_retry = false
47
47
  @backup_dir = 'tmp/js_backup'
48
48
  @chrome_url = nil
49
49
  @coverage_path = 'coverage/nyc'
50
50
  @experimental_features = false
51
- @headless = false
51
+ @headless = true
52
52
  @js_coverage = true
53
53
  @max_server_retries = 1000
54
54
  @output_dir = 'tmp/instrumented_js'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IntegrationTestsRails
4
- VERSION = '1.1.10'
4
+ VERSION = '1.1.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: integration-tests-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tien