Merge "Change TalkSectionAddOverlay browser test's textarea selector"
This commit is contained in:
commit
ccea03c2f2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue