ruby_raider 0.9.0 → 0.9.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 +4 -4
- data/.github/workflows/rspec_selenium.yml +1 -1
- data/.github/workflows/rspec_watir.yml +42 -0
- data/lib/utilities/utilities.rb +2 -1
- data/lib/version +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 858ef4fca3981fd08924d56c8fefdaba41c43d3264c87bc6e1a2b637e574ffe5
|
4
|
+
data.tar.gz: 686d3364b2825d0c937678951f785169016d03d02252ba34e8c45c81120d092c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c01b4d7cdaf1ea5353514e1dc0e6ca7473070ee895770880d59bc76604f92533bd47ac487288a98383ec26c8c2e0e8c1d8f294940efb5d2a562979a1e962bffc
|
7
|
+
data.tar.gz: 785ca5f20feb705becba5c45de0d851cb0febf5dae8662fd55ad25acd29135ffb02c757d7551f92a666a256067d185305274be56cf3e500cec9a9be9631b05a7
|
@@ -0,0 +1,42 @@
|
|
1
|
+
name: Rspec Watir Test on Ubuntu
|
2
|
+
on: [ pull_request ]
|
3
|
+
|
4
|
+
jobs:
|
5
|
+
ubuntu-job:
|
6
|
+
name: BrowserStack Test on Ubuntu
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- name: BrowserStack Env Setup
|
10
|
+
uses: browserstack/github-actions/setup-env@master
|
11
|
+
with:
|
12
|
+
username: ${{ secrets.BROWSERSTACK_USERNAME }}
|
13
|
+
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
|
14
|
+
build-name: BUILD_INFO
|
15
|
+
project-name: REPO_NAME
|
16
|
+
- name: BrowserStackLocal Setup
|
17
|
+
uses: browserstack/github-actions/setup-local@master
|
18
|
+
with:
|
19
|
+
local-testing: start
|
20
|
+
|
21
|
+
|
22
|
+
- name: Checkout the repository
|
23
|
+
uses: actions/checkout@v2
|
24
|
+
|
25
|
+
- name: Set up Ruby
|
26
|
+
uses: ruby/setup-ruby@f20f1eae726df008313d2e0d78c5e602562a1bcf
|
27
|
+
with:
|
28
|
+
ruby-version: head
|
29
|
+
|
30
|
+
- name: Install gems
|
31
|
+
run: bundle install
|
32
|
+
|
33
|
+
- name: Create Raider framework
|
34
|
+
run: bin/raider new rspec_watir -p framework:rspec automation:watir visual:false axe:true
|
35
|
+
|
36
|
+
- name: Run Raider tests
|
37
|
+
run: cd rspec_selenium && bundle install && raider utility browser_options chrome headless && rspec spec/
|
38
|
+
|
39
|
+
- name: BrowserStackLocal Stop
|
40
|
+
uses: browserstack/github-actions/setup-local@master
|
41
|
+
with:
|
42
|
+
local-testing: stop
|
data/lib/utilities/utilities.rb
CHANGED
@@ -44,7 +44,8 @@ module Utilities
|
|
44
44
|
def browser_options=(*opts)
|
45
45
|
args = opts.flatten
|
46
46
|
browser_args = config['browser_arguments']
|
47
|
-
|
47
|
+
browser = args.first&.to_sym
|
48
|
+
browser_args[browser] = browser_args[browser] + args[1..]
|
48
49
|
overwrite_yaml
|
49
50
|
end
|
50
51
|
|
data/lib/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_raider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agustin Pequeno
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- ".github/workflows/push_gem.yml"
|
152
152
|
- ".github/workflows/reek.yml"
|
153
153
|
- ".github/workflows/rspec_selenium.yml"
|
154
|
+
- ".github/workflows/rspec_watir.yml"
|
154
155
|
- ".github/workflows/rubocop.yml"
|
155
156
|
- ".gitignore"
|
156
157
|
- ".reek.yml"
|