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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/cs/webautomator/version.rb +1 -1
- data/lib/skeleton/README.md +27 -12
- data/lib/skeleton/cucumber.yml +1 -0
- data/lib/skeleton/features/support/env.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f9aa338419da7987cb9c7c69d7ade6034e99b05
|
|
4
|
+
data.tar.gz: ea041a02e5ed13a9586fb8d004d2fd2ed61210fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 576651846d8a126dafbccdcc92fb70975b8f9c1e67c9ae7335a4d3fea6b4e22c51de62e4267d2b0d13165b600de5d1f8e7fe62a22d54eef909659607cb674344
|
|
7
|
+
data.tar.gz: 0a208b042c43e27b0da7ea9be28de42d92a2b77657af92c828140f980ab7059988d059d6a1ffc22462df17f0f7b862bdf3a963f5d871afa86d3aa4eb9b90aca2
|
data/Gemfile.lock
CHANGED
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
|
|
89
|
+
2. Run tests in Internet Explorer
|
|
90
90
|
3. Create base methods (click, set, etc) to use with elements
|
|
91
91
|
|
|
92
92
|
|
data/lib/skeleton/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
## Getting Started ##
|
|
2
2
|
|
|
3
3
|
### Installing rbenv ###
|
|
4
|
-
|
|
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
|
-
|
|
30
|
+
To install bundler type:
|
|
31
31
|
```shell
|
|
32
32
|
gem install bundler
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### Installing gems ###
|
|
36
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
102
|
+
Type this in the tests folder:
|
|
88
103
|
```shell
|
|
89
104
|
bundle exec cucumber --tags @run
|
|
90
105
|
```
|
data/lib/skeleton/cucumber.yml
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|