ruby_raider 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2baf71e8ae4c89c2a2d8065d9c8e5dd1b295b9efcb53d1ecd1e9732b7bc3149
4
- data.tar.gz: 51277d989955c36486496791c86556eadee9ccba99859b4bf521c178cecd60fa
3
+ metadata.gz: aace14774067301e8684757746f8bcbfce04d3515e65760d5152e5161246d668
4
+ data.tar.gz: 2ca8f14af7aef79f26c7fa95339f2d73f45ecf75c1b424f2318501dd576ef1ec
5
5
  SHA512:
6
- metadata.gz: 066b4da6d3042c898a0468e293e7539fed2643cb6f09444e07033df2b96baab16dccafac4037e9d86f4f49bbd4d14b01003ee2cb93f370c663ac7a2d2e6033a9
7
- data.tar.gz: b9b4c25a4c895328c016c917a9bd67f0773a9c7afa1c420f9740183ecf9554c73831b690393cfdcbafe8c0d107d1852a878634ffbd6eb19516aff6307d543c97
6
+ metadata.gz: a52a934e23410edc20803c6b8e8c6f494c93b7f7cfd76427ed3d205c235524d5ee81213765daa3ab2053318118a6f9ab38100159d87bd19312aef411450496c0
7
+ data.tar.gz: d1751f9086dfe00cc95dd8f5a39e246d6a8c57558dfd9caa82e434ea54c55d39b77e16a7a957e0f3a746392a6d4a4abb512fab21932816309923ef648a4ac3a0
@@ -34,8 +34,11 @@ jobs:
34
34
  - name: Create screenshots folder
35
35
  run: mkdir -p allure-results/screenshots
36
36
 
37
+ - name: Prepare the browser options
38
+ run: raider utility browser_options headless no-sandbox window-size=1920,1080
39
+
37
40
  - name: Build and test with rspec
38
- run: <%- if framework == 'cucumber' -%>cucumber features --format pretty <%- else -%>bundle exec rspec spec --format documentation<%- end -%>
41
+ run: <%- if framework == 'cucumber' -%>cucumber features --format pretty <%- else -%>bundle exec rspec spec --format documentation<%- end %>
39
42
 
40
43
  - name: Get Allure history
41
44
  uses: actions/checkout@v2
data/lib/ruby_raider.rb CHANGED
@@ -19,7 +19,7 @@ module RubyRaider
19
19
  desc 'version', 'It shows the version of Ruby Raider you are currently using'
20
20
 
21
21
  def version
22
- puts 'The Ruby Raider version is 0.8.1, Happy testing!'
22
+ puts 'The Ruby Raider version is 0.8.2, Happy testing!'
23
23
  end
24
24
 
25
25
  map 'v' => 'version'
data/ruby_raider.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ruby_raider'
5
- s.version = '0.8.1'
5
+ s.version = '0.8.2'
6
6
  s.summary = 'A gem to make setup and start of UI automation projects easier'
7
7
  s.description = 'This gem has everything you need to start working with test automation'
8
8
  s.authors = ['Agustin Pequeno']
@@ -6,43 +6,43 @@ require_relative 'spec_helper'
6
6
  describe AutomationGenerator do
7
7
  shared_examples 'creates web automation framework' do |name|
8
8
  it 'creates a login page file' do
9
- expect(File).to exist("#{name}/page_objects/pages/login_page.rb")
9
+ expect(File).to exist("#{name}/page_objects/pages/login.rb")
10
10
  end
11
11
 
12
12
  it 'creates an abstract page file' do
13
- expect(File).to exist("#{name}/page_objects/abstract/abstract_page.rb")
13
+ expect(File).to exist("#{name}/page_objects/abstract/page.rb")
14
14
  end
15
15
 
16
16
  it 'creates an abstract component file' do
17
- expect(File).to exist("#{name}/page_objects/abstract/abstract_component.rb")
17
+ expect(File).to exist("#{name}/page_objects/abstract/component.rb")
18
18
  end
19
19
 
20
20
  it 'creates a component file' do
21
- expect(File).to exist("#{name}/page_objects/components/header_component.rb")
21
+ expect(File).to exist("#{name}/page_objects/components/header.rb")
22
22
  end
23
23
  end
24
24
 
25
25
  shared_examples 'creates mobile automation framework' do |name|
26
26
  it 'creates a home page file' do
27
- expect(File).to exist("#{name}/page_objects/pages/home_page.rb")
27
+ expect(File).to exist("#{name}/page_objects/pages/home.rb")
28
28
  end
29
29
 
30
30
  it 'creates an abstract page file' do
31
- expect(File).to exist("#{name}/page_objects/abstract/abstract_page.rb")
31
+ expect(File).to exist("#{name}/page_objects/abstract/page.rb")
32
32
  end
33
33
 
34
34
  it 'creates a pdp page file' do
35
- expect(File).to exist("#{name}/page_objects/pages/pdp_page.rb")
35
+ expect(File).to exist("#{name}/page_objects/pages/pdp.rb")
36
36
  end
37
37
  end
38
38
 
39
39
  shared_examples 'creates web visual framework' do |name|
40
40
  it 'creates a login page file' do
41
- expect(File).to exist("#{name}/page_objects/pages/login_page.rb")
41
+ expect(File).to exist("#{name}/page_objects/pages/login.rb")
42
42
  end
43
43
 
44
44
  it 'creates an abstract page file' do
45
- expect(File).to exist("#{name}/page_objects/abstract/abstract_page.rb")
45
+ expect(File).to exist("#{name}/page_objects/abstract/page.rb")
46
46
  end
47
47
  end
48
48
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_raider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Pequeno