wikiMarkup
open /mediawiki/index.php?title=Mynewtestpagss&action=edit&mode=wysiwyg
runScript CKEDITOR.instances.wpTextbox1.setData("This page is called: {{{PAGENAME}}}<br/><br/>Template Call: 2 < 3<br/>{{template|sdf|param=2|pagea2={{Some Other template}}}} and a nowiki part&lt;nowiki&gt;bla<br/>blub done<br/>&lt;/nowiki&gt;<br/><br/>Tepmplates like this {{TempLateBlub|param1={{{arg_x}}}}} can also use parameters.<br/><br/>Here we have magic words like __SGDGfsar__ and __NOTOC__ and __SOFOR__ that should be<br/>replaced.<br/><br/>We have {{#ask:[[Category:Person]]|format=ol}} in the wiki.")
setSpeed 1000
waitForElementPresent //a[@title='Paragraph Format']
click //a[@title='Paragraph Format']
waitForElementPresent //a/p[text()='Normal']
click //a/p[text()='Normal']
setSpeed 0
clickAndWait wpSave
verifyTextPresent This page is called: {{{PAGENAME}}}
verifyTextPresent Template Call: 2 < 3
verifyTextPresent {{template|sdf|param=2|pagea2={{Some Other template}}}} and a nowiki part<nowiki>bla
verifyTextPresent blub done
verifyTextPresent </nowiki>
verifyTextPresent Tepmplates like this {{TempLateBlub|param1={{{arg_x}}}}} can also use parameters.
verifyTextPresent Here we have magic words like __SGDGfsar__ and __NOTOC__ and __SOFOR__ that should be
verifyTextPresent replaced.
verifyTextPresent We have {{#ask:[[Category:Person]]|format=ol}} in the wiki.
clickAndWait //div[@id='ca-edit']/a
waitForElementPresent //a[contains(@class, 'cke_button_source')]
click //a[contains(@class, 'cke_button_source')]
verifyTextPresent This page is called: &#x7B;&#x7B;&#x7B;PAGENAME&#x7D;&#x7D;&#x7D;<br/><br/>Template Call: 2 < 3<br/>&#x7B;&#x7B;template|sdf|param=2|pagea2=&#x7B;&#x7B;Some Other template&#x7D;&#x7D;&#x7D;&#x7D; and a nowiki part&lt;nowiki&gt;bla<br/>blub done<br/>&lt;/nowiki&gt;<br/><br/>Tepmplates like this &#x7B;&#x7B;TempLateBlub|param1=&#x7B;&#x7B;&#x7B;arg_x&#x7D;&#x7D;&#x7D;&#x7D;&#x7D; can also use parameters.<br/><br/>Here we have magic words like __SGDGfsar__ and &#95;&#95;NOTOC&#95;&#95; and __SOFOR__ that should be<br/>replaced.<br/><br/>We have &#x7B;&#x7B;#ask:&#x5B;&#x5B;Category:Person&#x5D;&#x5D;|format=ol&#x7D;&#x7D; in the wiki.