yui_rest_client 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yui_rest_client/version.rb +1 -1
- data/lib/yui_rest_client/widgets/menucollection.rb +7 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76771a74c44b2a8cb909809120062822d37d88fbe451ac6e0325b1281f1733b1
|
4
|
+
data.tar.gz: 277d068f67155a3b9070a458b419bb54cebad0c2b5e1de9b58e425170f7c29f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8f9c51fe506d8e09310dcda6dc3939bde70697187e13fe8ce754ddc4324ca93dfc69f8c6c4f24255faca558460e902028795240dd7b7f61bdae3a669bc936c6
|
7
|
+
data.tar.gz: e956fc1c76d0f4f675e0c91b93e5eed3199411971f6313580a2288a809857e88194a6ff62c440b9ad0dc2adbc440e3165683166f1dd5559f8b7fff9dc7f79d63
|
@@ -4,13 +4,14 @@ module YuiRestClient
|
|
4
4
|
module Widgets
|
5
5
|
# Class representing a menucollection in UI. It can be YMenuButton, YMenuBar.
|
6
6
|
class Menucollection < Widgets::Base
|
7
|
-
# Sends action to click
|
8
|
-
# @param
|
9
|
-
# @example Click
|
7
|
+
# Sends action to click one item of a menu (menu button or menu bar) in UI.
|
8
|
+
# @param path [String] value to select from menu.
|
9
|
+
# @example Click menu item with label 'sub_menu_item' for menucollection
|
10
|
+
# with id 'test_id'.
|
10
11
|
# @example
|
11
|
-
# app.menucollection(id: 'test_id').click('
|
12
|
-
def click(
|
13
|
-
action(action: Actions::
|
12
|
+
# app.menucollection(id: 'test_id').click('menu_item|sub_menu_item')
|
13
|
+
def click(path)
|
14
|
+
action(action: Actions::SELECT, value: path)
|
14
15
|
end
|
15
16
|
|
16
17
|
# Returns the list of items available to select from widget.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yui_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joaquin Rivera
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: exe
|
14
14
|
cert_chain: []
|
15
|
-
date: 2020-11-
|
15
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|