get '/user_agreements/signatures' => 'user_agreements#signatures'
get "users/setup_popup" => 'users#setup_popup', :as => :setup_user_popup
get "users/setup" => 'users#setup', :as => :setup_user
- get "actions/report_issue_popup" => 'actions#report_issue_popup', :as => :report_issue_popup
- post "actions/report_issue" => 'actions#report_issue', :as => :report_issue
+ get "report_issue_popup" => 'actions#report_issue_popup', :as => :report_issue_popup
+ post "report_issue" => 'actions#report_issue', :as => :report_issue
resources :nodes
resources :humans
resources :traits
end
test "API error page has Report problem button" do
- visit page_with_token("active")
-
original_arvados_v1_base = Rails.configuration.arvados_v1_base
begin
within '.modal-content' do
assert page.has_text?('Report a problem'), 'Report a problem text not found'
assert page.has_no_text?('Version / debugging info'), 'Version / debugging info is not expected'
- assert page.has_text?('API version'), 'API version text not found'
- assert page.has_text?('API startup time'), 'API startup time text not found'
- assert page.has_text?('Found a problem?'), 'Found a problem text not found'
+ assert page.has_text?('Describe the problem'), 'Describe the problem text not found'
assert page.has_button?('Send problem report'), 'Send problem report button not found'
assert page.has_button?('Cancel'), 'Cancel button not found'
require 'selenium-webdriver'
require 'headless'
-class ApplicationLayoutTest < ActionDispatch::IntegrationTest
+class ReportIssueTest < ActionDispatch::IntegrationTest
setup do
headless = Headless.new
headless.start
within '.modal-content' do
assert page.has_text?('Version / debugging info'), 'No text - Version / debugging info'
assert page.has_no_text?('Report a problem'), 'Found text - Report a problem'
- assert page.has_text?('API version'), 'No text - API version'
- assert page.has_text?('API startup time'), 'No text - API startup time'
- assert page.has_text?('Workbench version'), 'No text - Workbench version'
- assert page.has_text?('Workbench URI'), 'No text - Arvados base'
- assert page.has_no_text?('Found a problem?'), 'Found text - Found a problem'
+ assert page.has_no_text?('Describe the problem?'), 'Found text - Describe the problem'
assert page.has_button?('Close'), 'No button - Close'
assert page.has_no_button?('Send problem report'), 'Found button - Send problem report'
click_button 'Close'
within '.modal-content' do
assert page.has_text?('Report a problem'), 'No text - Report a problem'
assert page.has_no_text?('Version / debugging info'), 'Found text - Version / debugging info'
- assert page.has_text?('API version'), 'No text - API version'
- assert page.has_text?('API startup time'), 'No text - API startup time'
- assert page.has_text?('Workbench version'), 'No text - Workbench version'
- assert page.has_text?('Workbench URI'), 'No text - Arvados base'
- assert page.has_text?('Found a problem?'), 'No text - Found a problem'
+ assert page.has_text?('Describe the problem'), 'No text - Describe the problem'
assert page.has_no_button?('Close'), 'Found button - Close'
assert page.has_button?('Send problem report'), 'No button - Send problem report'
assert page.has_button?('Cancel'), 'No button - Cancel'
require 'selenium-webdriver'
require 'headless'
-class ApplicationLayoutTest < ActionDispatch::IntegrationTest
+class SearchBoxTest < ActionDispatch::IntegrationTest
setup do
headless = Headless.new
headless.start
within '.modal-content' do
assert page.has_text?('Report a problem'), 'No text - Report a problem'
assert page.has_no_text?('Version / debugging info'), 'No text - Version / debugging info'
- assert page.has_text?('API version'), 'No text - API version'
- assert page.has_text?('API startup time'), 'No text - API startup time'
- assert page.has_text?('Found a problem?'), 'No text - Found a problem'
+ assert page.has_text?('Describe the problem'), 'No text - Describe the problem'
assert page.has_button?('Send problem report'), 'No button - Send problem report'
assert page.has_button?('Cancel'), 'No button - Cancel'
require 'selenium-webdriver'
require 'headless'
-class ApplicationLayoutTest < ActionDispatch::IntegrationTest
+class UserProfileTest < ActionDispatch::IntegrationTest
setup do
headless = Headless.new
headless.start