projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '3021-more-phantomjs' refs #3021
[arvados.git]
/
apps
/
workbench
/
test
/
diagnostics
/
pipeline_test.rb
diff --git
a/apps/workbench/test/diagnostics/pipeline_test.rb
b/apps/workbench/test/diagnostics/pipeline_test.rb
index a52d1a6a55a5686b6ec9baf0ec6ea2102586edca..3a4ad64bbf763df2b7d507f7f792613c1770e4c2 100644
(file)
--- a/
apps/workbench/test/diagnostics/pipeline_test.rb
+++ b/
apps/workbench/test/diagnostics/pipeline_test.rb
@@
-1,14
+1,10
@@
require 'diagnostics_test_helper'
require 'diagnostics_test_helper'
-require 'selenium-webdriver'
-require 'headless'
class PipelineTest < DiagnosticsTest
pipelines_to_test = Rails.configuration.pipelines_to_test.andand.keys
setup do
class PipelineTest < DiagnosticsTest
pipelines_to_test = Rails.configuration.pipelines_to_test.andand.keys
setup do
- headless = Headless.new
- headless.start
- Capybara.current_driver = :selenium
+ need_javascript
end
pipelines_to_test.andand.each do |pipeline_to_test|
end
pipelines_to_test.andand.each do |pipeline_to_test|
@@
-43,7
+39,7
@@
class PipelineTest < DiagnosticsTest
find('a,button', text: 'Run').click
# Pipeline is running. We have a "Stop" button instead now.
find('a,button', text: 'Run').click
# Pipeline is running. We have a "Stop" button instead now.
- page.assert_selector 'a,button', text: '
Stop
'
+ page.assert_selector 'a,button', text: '
Pause
'
# Wait for pipeline run to complete
wait_until_page_has 'Complete', pipeline_config['max_wait_seconds']
# Wait for pipeline run to complete
wait_until_page_has 'Complete', pipeline_config['max_wait_seconds']