ontra-react-common-capybara-helpers 0.1.2 → 0.1.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5e6d834541b2f82199546c79f02334742828ddbefd9abdd848ea78472d5b15
|
4
|
+
data.tar.gz: 311d47f943d822dde0a57a8239a8249aea8c2db7834cfde966d1fbae95de53a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa070ed713d6cfa56e49084ca0e47f736a24fc797eafcd26659f6290629cef5c96bc33e3ee643d2b723c88241073ff042908bc3ea1937d594d2810d6d54a0330
|
7
|
+
data.tar.gz: 75ac253bd29c7d9b4cc644bdf3ab5ec2d78f7bad2bb72d3217756ba960367c2d9a721cb4c60ed14d2c381d4845c1f6ea931273f4800ee4fde3e2c3da0d4159bc
|
data/Gemfile.lock
CHANGED
@@ -9,9 +9,6 @@ module Ontra
|
|
9
9
|
module Capybara
|
10
10
|
# Helpers for capybara tests to intereact and assert ontra-react-common components.
|
11
11
|
module Helpers
|
12
|
-
module_function :open_table_filter, :clear_table_filter, :table_filter_have_selected_value,
|
13
|
-
:select_option_in_table_filter, :table_next_page, :sort_table_by
|
14
|
-
|
15
12
|
class Error < StandardError; end
|
16
13
|
|
17
14
|
def react_component(component_name, **props)
|
@@ -116,6 +113,9 @@ module Ontra
|
|
116
113
|
def sort_table_by(header)
|
117
114
|
within("table thead") { click_button(header) }
|
118
115
|
end
|
116
|
+
|
117
|
+
module_function :open_table_filter, :clear_table_filter, :table_filter_have_selected_value,
|
118
|
+
:select_option_in_table_filter, :table_next_page, :sort_table_by
|
119
119
|
end
|
120
120
|
end
|
121
121
|
end
|