spec: fix wiki_and_tiny_teacher_wysiwyg_spec specs to run in chrome
Test Plan: - Code review (Pedro thats you!) - Pass Jenkins Change-Id: I7881c52309b20c54034996b326ba898ebb8ddaf8 Reviewed-on: https://gerrit.instructure.com/98372 Tested-by: Jenkins Reviewed-by: August Thornton <august@instructure.com> Product-Review: Matt Fairbourn <mfairbourn@instructure.com> QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
This commit is contained in:
parent
116a4b8f89
commit
2c44bceae9
|
@ -71,7 +71,10 @@ describe "Wiki pages and Tiny WYSIWYG editor features" do
|
|||
text = "<ul><li>1</li><li>2</li><li>3</li></ul>"
|
||||
wysiwyg_state_setup(text, html: true)
|
||||
|
||||
# editor window needs focus in chrome to enable bullet list button
|
||||
f("form.edit-form .edit-content").click if driver.browser == :chrome
|
||||
f(".mce-i-bullist").click
|
||||
|
||||
in_frame wiki_page_body_ifr_id do
|
||||
expect(f("#tinymce")).not_to contain_css('li')
|
||||
end
|
||||
|
@ -90,7 +93,10 @@ describe "Wiki pages and Tiny WYSIWYG editor features" do
|
|||
text = "<ol><li>1</li><li>2</li><li>3</li></ol>"
|
||||
wysiwyg_state_setup(text, html: true)
|
||||
|
||||
# editor window needs focus in chrome to enable number list button
|
||||
f("form.edit-form .edit-content").click if driver.browser == :chrome
|
||||
f('.mce-i-numlist').click
|
||||
|
||||
in_frame wiki_page_body_ifr_id do
|
||||
expect(f("#tinymce")).not_to contain_css('li')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue