ruby_raider 3.2.0 → 3.2.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65823e49f5a2bf2e0f338b0f3fa22c9825a665d11d688a2e4a6e29172c7bab36
|
|
4
|
+
data.tar.gz: 3acd00fe4a06957f50c559d1c92825cc0d576ff475bb00168e899ae54068f7d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d2954689ece744a1421e0cedf2c34dc03b95cf11486ff8e574c7c376b6338649c5c3dc03d0b91bb2de86c70878b34bbf8b1e7951b94e2017cf4b21a5e14bdbd
|
|
7
|
+
data.tar.gz: 752fcf37ecc86bbb60f6cb7e501df42b5721c39d94a05b798d15720eca473e0718d72c88d55d24b67cfd35467f65060c13832b51b48737a390a9aaf59597bf24
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Uncomment for interactive debugging:
|
|
4
|
-
# require 'debug' # Ruby's built-in debugger (binding.break)
|
|
5
|
-
# require 'pry' # Pry debugger (binding.pry)
|
|
6
|
-
|
|
7
3
|
require_relative '../../page_objects/pages/account'
|
|
8
4
|
require_relative '../../page_objects/pages/login'
|
|
9
5
|
|
|
@@ -14,7 +10,6 @@ Given("I'm a {user} on the login page") do |user|
|
|
|
14
10
|
end
|
|
15
11
|
|
|
16
12
|
When('I login with my credentials') do
|
|
17
|
-
# binding.break # Uncomment to pause here and inspect state
|
|
18
13
|
@login_page.login(@user['username'], @user['password'])
|
|
19
14
|
end
|
|
20
15
|
|
|
@@ -6,10 +6,6 @@ require_relative '../models/model_factory'
|
|
|
6
6
|
require_relative '../page_objects/pages/account'
|
|
7
7
|
require_relative '../page_objects/pages/login'
|
|
8
8
|
|
|
9
|
-
# Uncomment for interactive debugging:
|
|
10
|
-
# require 'debug' # Ruby's built-in debugger (binding.break)
|
|
11
|
-
# require 'pry' # Pry debugger (binding.pry)
|
|
12
|
-
|
|
13
9
|
describe 'Login' do
|
|
14
10
|
subject(:header) { account_page.header.customer_name }
|
|
15
11
|
|
|
@@ -26,7 +22,6 @@ describe 'Login' do
|
|
|
26
22
|
let(:password) { user['password'] }
|
|
27
23
|
|
|
28
24
|
it 'can successfully log in' do
|
|
29
|
-
# binding.break # Uncomment to pause here and inspect state
|
|
30
25
|
account_page.visit
|
|
31
26
|
expect(header).to eq "Welcome back #{user['name']}"
|
|
32
27
|
end
|
data/lib/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
3.2.1
|
|
@@ -91,24 +91,11 @@ describe 'Gemfile content' do
|
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
shared_examples 'contains debug gems' do |project_name|
|
|
95
|
-
subject(:gemfile) { read_generated(project_name, 'Gemfile') }
|
|
96
|
-
|
|
97
|
-
it 'includes debug gem' do
|
|
98
|
-
expect(gemfile).to include("gem 'debug'")
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
it 'includes pry gem' do
|
|
102
|
-
expect(gemfile).to include("gem 'pry'")
|
|
103
|
-
end
|
|
104
|
-
end
|
|
105
|
-
|
|
106
94
|
context 'with rspec and selenium' do
|
|
107
95
|
name = "#{FrameworkIndex::RSPEC}_#{AutomationIndex::SELENIUM}"
|
|
108
96
|
include_examples 'contains common gems', name
|
|
109
97
|
include_examples 'contains rspec gems', name
|
|
110
98
|
include_examples 'contains selenium gems', name
|
|
111
|
-
include_examples 'contains debug gems', name
|
|
112
99
|
end
|
|
113
100
|
|
|
114
101
|
context 'with rspec and watir' do
|
|
@@ -116,7 +103,6 @@ describe 'Gemfile content' do
|
|
|
116
103
|
include_examples 'contains common gems', name
|
|
117
104
|
include_examples 'contains rspec gems', name
|
|
118
105
|
include_examples 'contains watir gems', name
|
|
119
|
-
include_examples 'contains debug gems', name
|
|
120
106
|
end
|
|
121
107
|
|
|
122
108
|
context 'with cucumber and selenium' do
|
|
@@ -124,7 +110,6 @@ describe 'Gemfile content' do
|
|
|
124
110
|
include_examples 'contains common gems', name
|
|
125
111
|
include_examples 'contains cucumber gems', name
|
|
126
112
|
include_examples 'contains selenium gems', name
|
|
127
|
-
include_examples 'contains debug gems', name
|
|
128
113
|
end
|
|
129
114
|
|
|
130
115
|
context 'with cucumber and watir' do
|
|
@@ -132,7 +117,6 @@ describe 'Gemfile content' do
|
|
|
132
117
|
include_examples 'contains common gems', name
|
|
133
118
|
include_examples 'contains cucumber gems', name
|
|
134
119
|
include_examples 'contains watir gems', name
|
|
135
|
-
include_examples 'contains debug gems', name
|
|
136
120
|
end
|
|
137
121
|
|
|
138
122
|
end
|