Zfilipin has uploaded a new change for review.
https://gerrit.wikimedia.org/r/102198
Change subject: Replacing single quotes with double quotes
......................................................................
Replacing single quotes with double quotes
Bug: 57597
Change-Id: I5c962bc8d7bb8fca667008f50a020076642a9342
---
M features/step_definitions/aftv5_steps.rb
M features/step_definitions/search_steps.rb
M features/support/pages/login_page.rb
M features/support/pages/upload_wizard_page.rb
4 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests
refs/changes/98/102198/1
diff --git a/features/step_definitions/aftv5_steps.rb
b/features/step_definitions/aftv5_steps.rb
index 80593f3..1d36fb2 100644
--- a/features/step_definitions/aftv5_steps.rb
+++ b/features/step_definitions/aftv5_steps.rb
@@ -67,7 +67,7 @@
page.text.include? "Thanks!"
end
page.text.should include "Your post can be viewed on this feedback page."
- #ONLY ANONS GET 'CREATE ACCOUNT'/LOG IN MESSAGE
+ #ONLY ANONS GET "CREATE ACCOUNT"/LOG IN MESSAGE
page.create_account_element.should be_true
page.log_in_element.should be_true
end
diff --git a/features/step_definitions/search_steps.rb
b/features/step_definitions/search_steps.rb
index 44a62f9..9410bcd 100644
--- a/features/step_definitions/search_steps.rb
+++ b/features/step_definitions/search_steps.rb
@@ -25,7 +25,7 @@
end
Then(/^I should land on Search Results page$/) do
on(SearchResultsPage).search_element.when_present
- @browser.url.should match Regexp.escape('&title=Special%3ASearch')
+ @browser.url.should match Regexp.escape("&title=Special%3ASearch")
end
Then(/^(.+) should be the first result$/) do |page_name|
on(SearchPage).one_result.should == page_name
diff --git a/features/support/pages/login_page.rb
b/features/support/pages/login_page.rb
index 8a83535..fadcc6b 100644
--- a/features/support/pages/login_page.rb
+++ b/features/support/pages/login_page.rb
@@ -30,7 +30,7 @@
def login_with(username, password)
self.username_element.when_present.send_keys(username)
self.password_element.when_present.send_keys(password)
- login_element.fire_event('onfocus')
+ login_element.fire_event("onfocus")
login_element.when_present.click
end
end
diff --git a/features/support/pages/upload_wizard_page.rb
b/features/support/pages/upload_wizard_page.rb
index 9e4ac0e..2229a69 100644
--- a/features/support/pages/upload_wizard_page.rb
+++ b/features/support/pages/upload_wizard_page.rb
@@ -36,7 +36,7 @@
radio(:cca_sa20, id: "license2_5")
radio(:cca_sa3, id: "license2_0")
button(:continue_button, xpath: "//div[2]/div[2]/div/button")
- # todo # replace xpath # button(:continue_button, class:
'mwe-upwiz-button-next ui-button ui-widget ui-state-default ui-corner-all
ui-button-text-only')
+ # todo # replace xpath # button(:continue_button, class:
"mwe-upwiz-button-next ui-button ui-widget ui-state-default ui-corner-all
ui-button-text-only")
text_field(:date_created, id: "dateInput0")
textarea(:description_field, name: "description1")
a(:different_license, text: "Use a different license")
--
To view, visit https://gerrit.wikimedia.org/r/102198
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c962bc8d7bb8fca667008f50a020076642a9342
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits