Cmcmahon has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/138825

Change subject: [BrowserTest] Remove obsolete test
......................................................................

[BrowserTest] Remove obsolete test

Uses old version of api call and doesn't actually do much useful

Change-Id: Idfd831a89ed77e475e26925d23f8b62a8e4aa50e
---
D modules/ve-mw/test/browser/features/fresh_wiki_install.feature
D 
modules/ve-mw/test/browser/features/step_definitions/fresh_wiki_install_steps.rb
2 files changed, 0 insertions(+), 36 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/25/138825/1

diff --git a/modules/ve-mw/test/browser/features/fresh_wiki_install.feature 
b/modules/ve-mw/test/browser/features/fresh_wiki_install.feature
deleted file mode 100644
index cdd605a..0000000
--- a/modules/ve-mw/test/browser/features/fresh_wiki_install.feature
+++ /dev/null
@@ -1,21 +0,0 @@
-@chrome @clean @firefox
-Feature: VisualEditor on a fresh Mediawiki install
-
-  Since this test currently uses a hard-coded
-  username and password, the test should only
-  be run against a fresh Mediawiki install
-  (including the VisualEditor extension).
-
-  Scenario: Create a new user account
-    Given I create a new user Selenium_user with password test1234
-
-  Scenario Outline: Article creation and editing
-    Given I create a new wiki article <page_title> with content <article_text>
-    When I login with username Selenium_user and password test1234
-    And I visit <page_title> via the UI
-    And I click Edit for VisualEditor
-    Then I should see the Visual Editor editing surface
-  Examples:
-    | page_title                 | article_text                   |
-    | User:Selenium_user         | This is my user page           |
-    | User:Selenium_user/firefox | This is some wiki article text |
diff --git 
a/modules/ve-mw/test/browser/features/step_definitions/fresh_wiki_install_steps.rb
 
b/modules/ve-mw/test/browser/features/step_definitions/fresh_wiki_install_steps.rb
deleted file mode 100644
index 435ca86..0000000
--- 
a/modules/ve-mw/test/browser/features/step_definitions/fresh_wiki_install_steps.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-Given(/^I create a new user (.+) with password (.+)$/) do |username, password|
-  create_user username, password
-end
-
-Given (/^I create a new wiki article (.+) with content (.+)$/) do |title, 
content|
-  create_article "Selenium_user", "test1234", title, content
-end
-
-When(/^I login with username (.+) and password (.+)$/) do |name, pwd|
-  visit(LoginPage).login_with(name, pwd)
-end
-
-When(/^I visit (.+) via the UI$/) do |page_title|
-  visit(UserPage, :using_params => {:page => page_title})
-end

-- 
To view, visit https://gerrit.wikimedia.org/r/138825
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idfd831a89ed77e475e26925d23f8b62a8e4aa50e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to