Skip to content

Commit

Permalink
Delete Ruby Selenium tests
Browse files Browse the repository at this point in the history
These aren't being run, the Ruby framework is deprecated, and the
entire front-end of Structured Discussions is being re-written, so
it's a lot simpler to remove them now and re-add them based on the
node selenium test system with the new UI.

Bug: T174591
Change-Id: I236fc83557290323c5168ec1292084624be64f56
  • Loading branch information
jdforrester authored and zeljkofilipin committed Nov 29, 2017
1 parent 979b2d9 commit 29db727
Show file tree
Hide file tree
Showing 78 changed files with 6 additions and 2,575 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
scripts/hhvm-wrapper.phar
scripts/remotes
node_modules/
tests/browser/.gem
tests/browser/screenshots
vendor/
\#*#
/composer.lock
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Style/SignalException:

Style/SpaceInsideStringInterpolation:
Exclude:
- jsduck_custom_tags.rb
- jsduck_custom_tags.rb
29 changes: 4 additions & 25 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,21 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2014-11-07 11:17:24 -0700 using RuboCop version 0.27.0.
# on 2017-11-29 20:07:39 +0100 using RuboCop version 0.32.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 66
# Offense count: 4
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 224

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/BracesAroundHashParameters:
Enabled: false

# Offense count: 1
# Configuration parameters: Keywords.
Style/CommentAnnotation:
Enabled: false
Max: 84

# Offense count: 5
Style/Documentation:
Enabled: false

# Offense count: 1
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Enabled: false

# Offense count: 111
# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/StringLiterals:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/WhileUntilDo:
Enabled: false
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source "https://rubygems.org"

gem "csscss", "~> 1.3.3"
gem 'mediawiki_selenium', '~> 1.8'
gem 'rake', '~> 11.1', '>= 11.1.1'
gem "rubocop", "~> 0.32.1", require: false
85 changes: 1 addition & 84 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,115 +5,32 @@ GEM
astrolabe (1.3.1)
parser (~> 2.2)
blankslate (3.1.3)
builder (3.2.3)
childprocess (0.6.2)
ffi (~> 1.0, >= 1.0.11)
colorize (0.7.7)
csscss (1.3.3)
colorize
parslet (>= 1.6.1, < 2.0)
cucumber (1.3.20)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
data_magic (1.0)
faker (>= 1.1.2)
yml_reader (>= 0.6)
diff-lcs (1.3)
domain_name (0.5.20170223)
unf (>= 0.0.5, < 1.0.0)
faker (1.7.3)
i18n (~> 0.5)
faraday (0.11.0)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.11.0.1)
faraday (>= 0.7.4, < 1.0)
ffi (1.9.17)
gherkin (2.12.2)
multi_json (~> 1.3)
headless (2.3.1)
http-cookie (1.0.3)
domain_name (~> 0.5)
i18n (0.8.1)
json (2.0.3)
mediawiki_api (0.7.1)
faraday (~> 0.9, >= 0.9.0)
faraday-cookie_jar (~> 0.0, >= 0.0.6)
faraday_middleware (~> 0.10, >= 0.10.0)
mediawiki_selenium (1.8.0)
cucumber (~> 1.3, >= 1.3.20)
headless (~> 2.0, >= 2.1.0)
json (~> 2.0, >= 2.0.2)
mediawiki_api (~> 0.7, >= 0.7.0)
page-object (~> 2.0)
rest-client (~> 1.6, >= 1.6.7)
rspec-core (~> 2.14, >= 2.14.4)
rspec-expectations (~> 2.14, >= 2.14.4)
selenium-webdriver (~> 3.1.0)
syntax (~> 1.2, >= 1.2.0)
thor (~> 0.19, >= 0.19.1)
mime-types (2.99.3)
multi_json (1.12.1)
multi_test (0.1.2)
multipart-post (2.0.0)
net-http-persistent (2.9.4)
netrc (0.11.0)
page-object (2.0.0)
net-http-persistent (~> 2.9.4)
page_navigation (>= 0.9)
selenium-webdriver (~> 3.0)
watir (~> 6.0)
page_navigation (0.10)
data_magic (>= 0.22)
parser (2.2.2.6)
ast (>= 1.1, < 3.0)
parslet (1.7.1)
blankslate (>= 2.0, <= 4.0)
powerpack (0.1.1)
rainbow (2.0.0)
rake (11.1.1)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rspec-core (2.99.2)
rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0)
rubocop (0.32.1)
astrolabe (~> 1.3)
parser (>= 2.2.2.5, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.4)
ruby-progressbar (1.7.5)
rubyzip (1.2.1)
selenium-webdriver (3.1.0)
childprocess (~> 0.5)
rubyzip (~> 1.0)
websocket (~> 1.0)
syntax (1.2.1)
thor (0.19.4)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
watir (6.2.0)
selenium-webdriver (~> 3.0)
websocket (1.2.4)
yml_reader (0.7)

PLATFORMS
ruby

DEPENDENCIES
csscss (~> 1.3.3)
mediawiki_selenium (~> 1.8)
rake (~> 11.1, >= 11.1.1)
rubocop (~> 0.32.1)

BUNDLED WITH
1.14.5
1.16.0
3 changes: 0 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ RuboCop::RakeTask.new(:rubocop) do |task|
task.options = ['-c', '.rubocop.yml']
end

require 'mediawiki_selenium/rake_task'
MediawikiSelenium::RakeTask.new

task default: [:test]

desc 'Run all build/tests commands (CI entry point)'
Expand Down
1 change: 0 additions & 1 deletion tests/browser/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions tests/browser/ci.yml

This file was deleted.

46 changes: 0 additions & 46 deletions tests/browser/environments.yml

This file was deleted.

25 changes: 0 additions & 25 deletions tests/browser/features/action_menu_permalink.feature

This file was deleted.

8 changes: 0 additions & 8 deletions tests/browser/features/anon_interface.feature

This file was deleted.

22 changes: 0 additions & 22 deletions tests/browser/features/categories.feature

This file was deleted.

20 changes: 0 additions & 20 deletions tests/browser/features/description.feature

This file was deleted.

20 changes: 0 additions & 20 deletions tests/browser/features/edit_existing.feature

This file was deleted.

17 changes: 0 additions & 17 deletions tests/browser/features/flow_in_recent_changes.feature

This file was deleted.

19 changes: 0 additions & 19 deletions tests/browser/features/flow_logged_in.feature

This file was deleted.

Loading

0 comments on commit 29db727

Please sign in to comment.