Class: CoPilot::FeedbackPage
- Inherits:
-
Object
- Object
- CoPilot::FeedbackPage
- Defined in:
- lib/copilot/requests/internal/feedback_page.rb
Instance Method Summary collapse
- #each_summary_detail_pair ⇒ Object
- #expand_details ⇒ Object
- #goto ⇒ Object
-
#initialize(browser, build_id) ⇒ FeedbackPage
constructor
A new instance of FeedbackPage.
Constructor Details
#initialize(browser, build_id) ⇒ FeedbackPage
Returns a new instance of FeedbackPage.
4 5 6 7 |
# File 'lib/copilot/requests/internal/feedback_page.rb', line 4 def initialize(browser, build_id) @browser = browser @build_id = build_id end |
Instance Method Details
#each_summary_detail_pair ⇒ Object
18 19 20 |
# File 'lib/copilot/requests/internal/feedback_page.rb', line 18 def each_summary_detail_pair summary_rows.to_a.each_index { |i| yield [summary_rows[i], detail_rows[i]] } end |
#expand_details ⇒ Object
13 14 15 16 |
# File 'lib/copilot/requests/internal/feedback_page.rb', line 13 def summary_rows.each { |tr| tr.click } sleep 1 end |
#goto ⇒ Object
9 10 11 |
# File 'lib/copilot/requests/internal/feedback_page.rb', line 9 def goto b.goto "https://www.testflightapp.com/dashboard/builds/feedback/#{@build_id}" end |