Merge "Change TalkSectionAddOverlay browser test's textarea selector"

This commit is contained in:
jenkins-bot 2019-05-01 21:57:04 +00:00 committed by Gerrit Code Review
commit ccea03c2f2
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ When(/^I add a topic called "(.+)"$/) do |topic|
step 'I click the add discussion button'
on(ArticlePage) do |page|
page.talk_overlay_summary = topic
page.talk_overlay_wikitext_editor = 'Topic body is a really long text.'
page.talk_overlay_body = 'Topic body is a really long text.'
page.wait_until { page.talk_overlay_save_button_element.enabled? }
page.talk_overlay_save_button
end

View File

@ -196,6 +196,6 @@ class ArticlePage
p(:talk_overlay_content_header, css: '.talk-overlay .content-header')
li(:talk_overlay_first_topic_title, css: '.talk-overlay .topic-title-list li:first-child')
text_field(:talk_overlay_summary, css: '.talk-overlay input')
text_area(:talk_overlay_wikitext_editor, css: '.talk-overlay .wikitext-editor')
text_area(:talk_overlay_body, css: '.talk-overlay textarea')
button(:talk_overlay_save_button, css: '.talk-overlay .confirm-save')
end