gridium 1.1.6 → 1.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c37c23107f1ae26c02fd119eaabe1859c735c4c
4
- data.tar.gz: 7f1d7a20b482758fc98a9846cd5ae868963440d7
3
+ metadata.gz: acc2dbcae9f68194291b55aae75d9cde151d925c
4
+ data.tar.gz: a9d23c17bcf7fe2c7592f64f02dab27e01ca8301
5
5
  SHA512:
6
- metadata.gz: de424541acc114d9ed7704516e9142d853b9dccb7d0042a8b3c35cd2f154fde6e8b4bb083d9a6a5d2deaae2aa414ca0bd307e54600a2689f9527486a106ff384
7
- data.tar.gz: dd424381fda6c4a185817ef49dac3a6ac81f0f2ac5e9aa0649cc14567107fb9680586941c04a94383465b37242976219116d5b543ecb53f561f931f8921266d6
6
+ metadata.gz: '093a2b2415ccc89b489ef79ff792377227a7e5b4f55142256135d3ca69c121e4f6da10b54484b308b887c5259d67b81aeb681dfec6cc0805a86fe1c76edc84e2'
7
+ data.tar.gz: 69236c5f6697c35fe5a675e210828738e6a66e9c98b85bf9e252c18dd26d97f5999762b8e14b871fbfa8452435217ee509ccde3421f580137a3ee87836d0cfcd
data/README.md CHANGED
@@ -217,6 +217,24 @@ To open the firehose to selenium's logging (https://github.com/SeleniumHQ/seleni
217
217
  1. Set `config.selenium_log_level = 'ALL'` to set each type of selenium logging (browser, driver, client, server) to 'ALL'
218
218
  2. Set `config.log_level = :debug` to have them picked up by gridium's logger.
219
219
 
220
+
221
+ ## Testing with docker
222
+ Gridium's unit tests are run in docker using selenium grid and some helper images:
223
+ * gprestes/the-internet
224
+ * yetanotherlucas/mustadio
225
+
226
+ The bin folder contains helper scripts to setup and teardown the docker containers:
227
+ * `bin/pull`: Use this to pull the latest docker images prior to starting.
228
+ * `bin/start`: Use this to start up all the docker containers.
229
+ * `dev mode`: -d switch to map your local gridium (via $GRIDIUMPATH) to the gridium container
230
+ * `$GRIDIUMPATH`: set this to point at your Gridium repo -> export GRIDIUMPATH="/path/to/gridium"
231
+ * `bin/cleanup`: Use this to cleanup any dangling containers afterward.
232
+
233
+ Once the containers are running, you can shell into the gridium container to kick off tests:
234
+ `docker exec -it gridium_gridium_1 /bin/bash`
235
+ `rake spec`
236
+ If a test does not pass, modify the spec locally and rerun it inside the gridium container again. Repeat until green.
237
+
220
238
  ## Elements
221
239
 
222
240
  Elements are the building blocks of page objects. Elements are anything that a user, or a test would care about on the page. To create a new Element, you will need three things:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Urban
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-27 00:00:00.000000000 Z
11
+ date: 2017-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler