appium_capybara 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/run_example.yml +6 -5
- data/Gemfile +3 -1
- data/appium_capybara.gemspec +3 -6
- data/example/spec/ios_example_spec.rb +1 -0
- data/lib/appium_capybara/driver/appium/driver.rb +2 -3
- data/lib/appium_capybara/ext/element_ext.rb +2 -0
- data/lib/appium_capybara/version.rb +2 -2
- data/release_notes.md +12 -0
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15eee6309ddeb8a3eb403d1467e1cd3c214bf22b929436d05b31c794c90d99ab
|
4
|
+
data.tar.gz: bc20ee172a29cae552480dd3f7b7bcb34f5a99ef9e7edc51caf72e602a54a0d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9f8cf8110506f3f4b1fa9b862fe4c94a94f68e79598b27897f336f76895241ebd866e7add1ae217f7e165b94ba35af146c0ce5fbd0b052e50584dd1f37be7b2
|
7
|
+
data.tar.gz: 2fbeeab4a2d1aaefa87971c0fab127bbf5bc321ab809836dee963f8b6d3a82bd89c63712a61a0d5d0d183c6b1363c9f2283577670a2c5326ccd931487e0e9948
|
@@ -8,8 +8,9 @@ on:
|
|
8
8
|
pull_request:
|
9
9
|
branches: [ "master" ]
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
concurrency:
|
12
|
+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
13
|
+
cancel-in-progress: true
|
13
14
|
|
14
15
|
jobs:
|
15
16
|
test:
|
@@ -47,7 +48,7 @@ jobs:
|
|
47
48
|
appium driver install xcuitest
|
48
49
|
- name: run Appium background
|
49
50
|
run: |
|
50
|
-
nohup appium --log-timestamp --log-no-colors > appium.
|
51
|
+
nohup appium --log-timestamp --log-no-colors > appium.log 2>&1 &
|
51
52
|
|
52
53
|
- name: Set up Ruby
|
53
54
|
uses: ruby/setup-ruby@v1
|
@@ -59,9 +60,9 @@ jobs:
|
|
59
60
|
bundle exec rspec spec/ios_example_spec.rb
|
60
61
|
working-directory: example
|
61
62
|
|
62
|
-
- name: Upload appium.
|
63
|
+
- name: Upload appium.log
|
63
64
|
if: ${{ always() }}
|
64
65
|
uses: actions/upload-artifact@v4
|
65
66
|
with:
|
66
|
-
path: appium.
|
67
|
+
path: appium.log
|
67
68
|
|
data/Gemfile
CHANGED
data/appium_capybara.gemspec
CHANGED
@@ -7,11 +7,10 @@ class Gem::Specification
|
|
7
7
|
end
|
8
8
|
|
9
9
|
Gem::Specification.new do |s|
|
10
|
-
s.required_ruby_version = Gem::Requirement.new('>= 3.
|
10
|
+
s.required_ruby_version = Gem::Requirement.new('>= 3.1')
|
11
11
|
|
12
12
|
s.name = 'appium_capybara'
|
13
13
|
s.version = Appium::Capybara::VERSION
|
14
|
-
s.date = Appium::Capybara::DATE
|
15
14
|
s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
16
15
|
s.description = s.summary = 'Enables appium support in Capybara'
|
17
16
|
s.description += '.' # avoid identical warning
|
@@ -19,10 +18,8 @@ Gem::Specification.new do |s|
|
|
19
18
|
s.homepage = 'https://github.com/appium/appium_capybara'
|
20
19
|
s.require_paths = ['lib']
|
21
20
|
|
22
|
-
s.
|
23
|
-
s.
|
24
|
-
|
25
|
-
s.add_development_dependency 'appium_thor', '~> 2.0'
|
21
|
+
s.add_dependency 'appium_lib', '>= 13.0.0'
|
22
|
+
s.add_dependency 'capybara', '~> 3.36'
|
26
23
|
|
27
24
|
s.files = s.remove_zip_files(`git ls-files`.split("\n"))
|
28
25
|
end
|
@@ -30,6 +30,7 @@ describe 'UICatalog smoke test' do
|
|
30
30
|
Capybara.current_session.driver.appium_driver.find_element(:name, 'Text Fields').click
|
31
31
|
|
32
32
|
e = capy_driver.find_custom(:predicate, 'value == "Placeholder text"').first
|
33
|
+
e.inspect
|
33
34
|
e.send_keys [:shift, :end]
|
34
35
|
|
35
36
|
e = Capybara.current_session.find(:xpath, '//XCUIElementTypeTextField[@value=""]')
|
@@ -46,9 +46,8 @@ module Appium::Capybara
|
|
46
46
|
|
47
47
|
# override
|
48
48
|
def reset!
|
49
|
-
#
|
50
|
-
|
51
|
-
@appium_driver.reset if @appium_driver
|
49
|
+
# Re-create a new session.
|
50
|
+
@appium_driver&.restart
|
52
51
|
end
|
53
52
|
|
54
53
|
# @deprecated This method is being removed
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Appium
|
2
2
|
module Capybara
|
3
|
-
VERSION = '3.
|
4
|
-
DATE = '
|
3
|
+
VERSION = '3.2.0'.freeze unless defined? ::Appium::Capybara::VERSION
|
4
|
+
DATE = '2025-01-25'.freeze unless defined? ::Appium::Capybara::DATE
|
5
5
|
end
|
6
6
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
#### v3.2.0 2025-01-25
|
2
|
+
|
3
|
+
- [037f19a](https://github.com/appium/appium_capybara/commit/037f19a6c87e7da9b80a60866f37dfe01e4a3cdd) Release 3.2.0
|
4
|
+
- [208ac0e](https://github.com/appium/appium_capybara/commit/208ac0ebf1e1a714d4b8c5256e76d8ee6aab35a8) feat: bump mini ruby version by following selenium
|
5
|
+
|
6
|
+
|
7
|
+
#### v3.1.2 2024-07-23
|
8
|
+
|
9
|
+
- [ea74429](https://github.com/appium/appium_capybara/commit/ea74429e86e01be1688cf0250c25f90e2388c789) Release 3.1.2
|
10
|
+
- [d214184](https://github.com/appium/appium_capybara/commit/d214184a35227a29cdf6b8e6f7e8cd745506ba4a) fix: replace reset with restart as similar behavior, fix inspect to respect super (#78)
|
11
|
+
|
12
|
+
|
1
13
|
#### v3.1.1 2024-07-20
|
2
14
|
|
3
15
|
- [b282393](https://github.com/appium/appium_capybara/commit/b28239336dbd2ba0c2ad5b5089b4c9666485b589) Release 3.1.1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fly.49.89.over@gmail.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appium_lib
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.36'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: appium_thor
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2.0'
|
55
41
|
description: Enables appium support in Capybara.
|
56
42
|
email:
|
57
43
|
- fly.49.89.over@gmail.com
|
@@ -95,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
81
|
requirements:
|
96
82
|
- - ">="
|
97
83
|
- !ruby/object:Gem::Version
|
98
|
-
version: '3.
|
84
|
+
version: '3.1'
|
99
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - ">="
|