testcentricity_web 0.7.1 → 0.7.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
  SHA1:
3
- metadata.gz: b39f61c69a2634fd4f5d13b3bdf839080cca35bf
4
- data.tar.gz: 6c2bb1c66cac6070151f99d0e843c1fa68792e99
3
+ metadata.gz: 6b46d8e4ce4c479595b40af6e05228921c7f8cfd
4
+ data.tar.gz: 38929c566789d3ca56d6ea8b2ce523601c6367da
5
5
  SHA512:
6
- metadata.gz: f4e4eaebe5b3e2372298b302b10bc7d06ed905872acc83744b19629c70f404120116073bc251f0704d07eb59df9d95bb3d947c60ec699740a882455451c108fb
7
- data.tar.gz: 8c7411358f090f377341bb91b791f87d14e3e1119c65060985d42f70ddb6f2f52c2120e775f1f568e313ca97d9734f6ed923d8fd262b3fd3e08966caa34ac62c
6
+ metadata.gz: befd23db564f85e8e74fbc774f02bb949d3a47a232abfbc68991495e2fbc95287a9254a6668a21eee913b793a03595de7fe54f0d7ac8d541d615e3aecc22d7d5
7
+ data.tar.gz: a664cfbc24afa3e2814fb59c8898be38f5914141d56a3d21f4c48753d3f693748c1cd20f2d5b05231ab79ebae073e62b0523eaf04da486a28059f6920f8d3b6b
data/README.md CHANGED
@@ -112,7 +112,7 @@ You define your page's **Traits** as shown below:
112
112
  class HomePage < TestCentricity::PageObject
113
113
  trait(:page_name) { 'Home' }
114
114
  trait(:page_url) { '/dashboard' }
115
- trait(:page_locator) { 'body.dashboard }
115
+ trait(:page_locator) { 'body.dashboard' }
116
116
  end
117
117
 
118
118
 
@@ -216,7 +216,7 @@ You define your page section's **Traits** as shown below:
216
216
  trait(:section_locator) { 'form#gnav-search' }
217
217
 
218
218
  # Search Form UI elements
219
- textfield :search_field, '#search-query
219
+ textfield :search_field, '#search-query'
220
220
  button :search_button, 'button[type=submit]'
221
221
  end
222
222
 
@@ -229,7 +229,7 @@ You can add high level methods to your **PageSection** class definition, as show
229
229
  trait(:section_locator) { 'form#gnav-search' }
230
230
 
231
231
  # Search Form UI elements
232
- textfield :search_field, '#search-query
232
+ textfield :search_field, '#search-query'
233
233
  button :search_button, 'button[type=submit]'
234
234
 
235
235
  def search_for(value)
@@ -246,7 +246,7 @@ You add a **PageSection Object** to its associated **Page Object** as shown belo
246
246
  class HomePage < TestCentricity::PageObject
247
247
  trait(:page_name) { 'Home' }
248
248
  trait(:page_url) { '/dashboard' }
249
- trait(:page_locator) { 'body.dashboard }
249
+ trait(:page_locator) { 'body.dashboard' }
250
250
 
251
251
  # Home page Section Objects
252
252
  section :search_form, SearchForm
@@ -33,7 +33,7 @@ module TestCentricity
33
33
  end
34
34
 
35
35
  def self.switch_to_new_browser_instance
36
- Capybara.page.driver.browser.switch_to.window(page.driver.browser.window_handles.last)
36
+ Capybara.page.driver.browser.switch_to.window(Capybara.page.driver.browser.window_handles.last)
37
37
  end
38
38
 
39
39
  def self.close_all_browser_instances
@@ -23,7 +23,7 @@ module TestCentricity
23
23
  end
24
24
 
25
25
 
26
- class DataSource
26
+ class ExcelDataSource
27
27
  attr_accessor :current
28
28
 
29
29
  def pick_excel_data_source(sheet, row_name)
@@ -1,5 +1,5 @@
1
1
  module TestCentricity
2
- class EnvironData < TestCentricity::DataSource
2
+ class EnvironData < TestCentricity::ExcelDataSource
3
3
  attr_accessor :current
4
4
 
5
5
  WKS_ENVIRONS ||= 'Environments'
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-08 00:00:00.000000000 Z
11
+ date: 2016-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler