Cmcmahon has submitted this change and it was merged.
Change subject: Attempt to get around Sauce bug where Chrome gets newlines
......................................................................
Attempt to get around Sauce bug where Chrome gets newlines
Change-Id: Ib543bea354508b637c78f04ce05554ac2fff1f41
---
M tests/browser/features/step_definitions/flow_steps.rb
1 file changed, 4 insertions(+), 2 deletions(-)
Approvals:
Cmcmahon: Looks good to me, approved
diff --git a/tests/browser/features/step_definitions/flow_steps.rb
b/tests/browser/features/step_definitions/flow_steps.rb
index 4b9f14f..145fa1c 100644
--- a/tests/browser/features/step_definitions/flow_steps.rb
+++ b/tests/browser/features/step_definitions/flow_steps.rb
@@ -37,13 +37,15 @@
When(/^I create a (.+) in Flow new topic$/) do |flow_title|
@automated_test_marker = " browsertest edit"
on(FlowPage) do |page|
+ topic_string = flow_title + @random_string + @automated_test_marker
page.new_topic_title_element.when_present.click
- page.new_topic_title_element.when_present.send_keys(flow_title +
@random_string + @automated_test_marker)
+ page.new_topic_title_element.when_present.send_keys(topic_string)
end
end
When(/^I create a (.+) into Flow body$/) do |flow_body|
- on(FlowPage).new_topic_body_element.when_present.send_keys(flow_body +
@random_string + @automated_test_marker)
+ body_string = flow_body + @random_string + @automated_test_marker
+ on(FlowPage).new_topic_body_element.when_present.send_keys(body_string)
end
When(/^I hover over the author link$/) do
--
To view, visit https://gerrit.wikimedia.org/r/115203
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib543bea354508b637c78f04ce05554ac2fff1f41
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits