Skip to content

Commit

Permalink
Run spider test in the new UI
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kang committed Sep 2, 2019
1 parent a0c64ab commit 3fac957
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ jobs:
- run: *bootstrap_old_test_suite
- run:
name: Run spider
command: cd src/api; bundle exec rake test:spider
command: |
cd src/api
bundle exec rake test:spider
- <<: *store_minitest_artefacts

backend_test:
Expand Down
3 changes: 3 additions & 0 deletions src/api/test/functional/webui/spider_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
require 'benchmark'
require 'nokogiri'

# TODO: Remove this when switch_to_webui2 is removed
ENV['BOOTSTRAP'] = '1'

class Webui::SpiderTest < Webui::IntegrationTest
def getlinks(baseuri, body)
# skip some uninteresting projects
Expand Down

0 comments on commit 3fac957

Please sign in to comment.