cs-webautomator 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: 74e7a731683e759d9bf74f8ca3b1a7ccf437c774
4
- data.tar.gz: e0e20b93f4093665f8d18def462a749b287672ab
3
+ metadata.gz: 3f9aa338419da7987cb9c7c69d7ade6034e99b05
4
+ data.tar.gz: ea041a02e5ed13a9586fb8d004d2fd2ed61210fc
5
5
  SHA512:
6
- metadata.gz: 9b30226ac893e581dd89c3529c8d77d51238dfebe49c3014d1263f788d6f68f0d41d2ab183b91812e39d0cb9a118bccf42e930581b270ef5736ef24d15989302
7
- data.tar.gz: a62156bae4e03f3cbe66d56d04eb7dfa74eaaff82d1ee34cc91cb13645f339e5e5c4ef7c334db87d5d574fff1a99e4155aeceb501c31c06d85da4cdec11379e7
6
+ metadata.gz: 576651846d8a126dafbccdcc92fb70975b8f9c1e67c9ae7335a4d3fea6b4e22c51de62e4267d2b0d13165b600de5d1f8e7fe62a22d54eef909659607cb674344
7
+ data.tar.gz: 0a208b042c43e27b0da7ea9be28de42d92a2b77657af92c828140f980ab7059988d059d6a1ffc22462df17f0f7b862bdf3a963f5d871afa86d3aa4eb9b90aca2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cs-webautomator (0.1.6)
4
+ cs-webautomator (0.1.7)
5
5
  bundler (>= 1.7)
6
6
  gherkin (= 2.12.2)
7
7
  i18n (>= 0.6.11)
data/README.md CHANGED
@@ -86,7 +86,7 @@ The screen generator will create both Platform dependent screens in the folder `
86
86
  ## TODO
87
87
 
88
88
  1. Run tests in Remote Server
89
- 2. Run tests in Internet Explorer and Safari
89
+ 2. Run tests in Internet Explorer
90
90
  3. Create base methods (click, set, etc) to use with elements
91
91
 
92
92
 
@@ -1,5 +1,5 @@
1
1
  module CS
2
2
  module WEBAUTOMATOR
3
- VERSION = '0.1.6'
3
+ VERSION = '0.1.7'
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  ## Getting Started ##
2
2
 
3
3
  ### Installing rbenv ###
4
- Run this:
4
+ To install rbenv type:
5
5
  ```shell
6
6
  brew install rbenv
7
7
  ```
@@ -27,64 +27,79 @@ rbenv local 2.3.1
27
27
  ```
28
28
 
29
29
  ### Installing bundler ###
30
- Run this:
30
+ To install bundler type:
31
31
  ```shell
32
32
  gem install bundler
33
33
  ```
34
34
 
35
35
  ### Installing gems ###
36
- Run this:
36
+ To install gems type:
37
37
  ```shell
38
38
  bundle install
39
39
  ```
40
40
 
41
41
  ### Drivers: ###
42
42
  Install [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/) and [phantomjs](http://phantomjs.org/).
43
- Remenber include in the PATH.
43
+ Remenber include this in PATH.
44
+
45
+ Install [Webdriver Safari extension](http://selenium-release.storage.googleapis.com/2.48/SafariDriver.safariextz).
44
46
 
45
47
  ### Run tests in DEV with Chrome###
46
- Run this in the tests folder:
48
+ Type this in the tests folder:
47
49
  ```shell
48
50
  bundle exec cucumber
49
51
  ```
50
52
 
51
53
  ### Run tests in DEV with Firefox###
52
- Run this in the tests folder:
54
+ Type this in the tests folder:
53
55
  ```shell
54
56
  bundle exec cucumber -p firefox -p dev
55
57
  ```
56
58
 
59
+ ### Run tests in DEV with Safari###
60
+ Type this in the tests folder:
61
+ ```shell
62
+ bundle exec cucumber -p safari -p dev
63
+ ```
64
+
57
65
  ### Run tests in DEV with Poltergeist###
58
- Run this in the tests folder:
66
+ Type this in the tests folder:
59
67
  ```shell
60
68
  bundle exec cucumber -p poltergeist -p dev
61
69
  ```
62
70
 
63
71
  ### Run tests in HMG with Chrome###
64
- Run this in the tests folder:
72
+ Type this in the tests folder:
65
73
  ```shell
66
74
  bundle exec cucumber -p chrome -p hmg
67
75
  ```
68
76
 
69
77
  ### Run tests in HMG with Firefox###
70
- Run this in the tests folder:
78
+ Type this in the tests folder:
71
79
  ```shell
72
80
  bundle exec cucumber -p firefox -p hmg
73
81
  ```
82
+
83
+ ### Run tests in HMG with Safari###
84
+ Type this in the tests folder:
85
+ ```shell
86
+ bundle exec cucumber -p safari -p hmg
87
+ ```
88
+
74
89
  ### Run tests in HMG with Poltergeist###
75
- Run this in the tests folder:
90
+ Type this in the tests folder:
76
91
  ```shell
77
92
  bundle exec cucumber -p poltergeist -p hmg
78
93
  ```
79
94
 
80
95
  ### HTML Report###
81
- Run this in the tests folder:
96
+ Type this in the tests folder:
82
97
  ```shell
83
98
  bundle exec cucumber -p html_report
84
99
  ```
85
100
 
86
101
  ### Run with tags###
87
- Run this in the tests folder:
102
+ Type this in the tests folder:
88
103
  ```shell
89
104
  bundle exec cucumber --tags @run
90
105
  ```
@@ -6,5 +6,6 @@ firefox: BROWSER=firefox
6
6
  chrome: BROWSER=chrome
7
7
  poltergeist: BROWSER=poltergeist
8
8
  internet_explorer: BROWSER=internet_explorer
9
+ safari: BROWSER=safari
9
10
  dev: AMBIENTE=dev
10
11
  hmg: AMBIENTE=hmg
@@ -24,6 +24,8 @@ Capybara.register_driver :selenium do |app|
24
24
  Capybara::Selenium::Driver.new(app, :browser => :firefox)
25
25
  elsif BROWSER.eql?('internet_explorer')
26
26
  Capybara::Selenium::Driver.new(app, :browser => :internet_explorer)
27
+ elsif BROWSER.eql?('safari')
28
+ Capybara::Selenium::Driver.new(app, :browser => :safari)
27
29
  elsif BROWSER.eql?('poltergeist')
28
30
  options = { js_errors: false }
29
31
  Capybara::Poltergeist::Driver.new(app, options)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cs-webautomator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samanta Cicilia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-24 00:00:00.000000000 Z
11
+ date: 2016-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler