Cmcmahon has uploaded a new change for review.

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


Change subject: wait for the textarea to appear, this fixes occasional flaky 
failures
......................................................................

wait for the textarea to appear, this fixes occasional flaky failures

Change-Id: I4c310c8628d04f2c43852dd3b52eb97714618285
---
M features/step_definitions/page_steps.rb
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests 
refs/changes/89/91989/1

diff --git a/features/step_definitions/page_steps.rb 
b/features/step_definitions/page_steps.rb
index 8d74b7e..1949982 100644
--- a/features/step_definitions/page_steps.rb
+++ b/features/step_definitions/page_steps.rb
@@ -20,7 +20,10 @@
   on(EditPage).save_element.when_present.click
 end
 When(/^I enter article text$/) do
-  on(EditPage).article_text = "Starting a new page using the URL"
+  on(EditPage) do |page|
+    page.article_text_element.when_present.click
+    page.article_text = "Starting a new page using the URL"
+  end
 end
 
 Then(/^Discussion link should be there$/) do

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c310c8628d04f2c43852dd3b52eb97714618285
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
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