ruby_raider 0.9.0 → 0.9.1

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
  SHA256:
3
- metadata.gz: cbe1cdaadd5277a886b3e916c4de3f9982eb362252283f9403bbe2905df995b5
4
- data.tar.gz: e16f7436c7c9f558c751f404428e9494e608da7e6deb8117f1b9a6692720a942
3
+ metadata.gz: 858ef4fca3981fd08924d56c8fefdaba41c43d3264c87bc6e1a2b637e574ffe5
4
+ data.tar.gz: 686d3364b2825d0c937678951f785169016d03d02252ba34e8c45c81120d092c
5
5
  SHA512:
6
- metadata.gz: 4a97554b9b58002bce11b76c44f42710238b8e53dd2879fb677cae9cc87356190e2395369d1c2ae431a27e5d1d372f17d8a8cc563965a6bc1fb354b71ead6979
7
- data.tar.gz: cabae226fd5666bbc9a3f2e10aff32f5bd4faa7712a9aefce7e9e81d87c26a454500af69993c527e33886daa6e622eb08ce49b428322b00fbe0e4bf3a5b34f7d
6
+ metadata.gz: c01b4d7cdaf1ea5353514e1dc0e6ca7473070ee895770880d59bc76604f92533bd47ac487288a98383ec26c8c2e0e8c1d8f294940efb5d2a562979a1e962bffc
7
+ data.tar.gz: 785ca5f20feb705becba5c45de0d851cb0febf5dae8662fd55ad25acd29135ffb02c757d7551f92a666a256067d185305274be56cf3e500cec9a9be9631b05a7
@@ -1,4 +1,4 @@
1
- name: BrowserStack Test
1
+ name: Rspec Selenium Test on Ubuntu
2
2
  on: [ pull_request ]
3
3
 
4
4
  jobs:
@@ -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
@@ -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
- browser_args[args.first&.to_sym] = browser_args + args[1..]
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.0
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.0
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-29 00:00:00.000000000 Z
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"