AutorÃa | Ultima modificación | Ver Log |
@filter @filter_codehighlighterFeature: Render text content using a codehighliter filterTo display code to be well-styled - I need to render text content.@javascriptScenario: Update admin profile description with a code contentGiven the "codehighlighter" filter is "on"And the following "user" exists:| username | example || description | <pre class="language-php"><code>$t = date();</code></language> |And I am on the Profile page logged in as "example"Then "//span[@class='token variable'][contains(text(),'$t')]" "xpath_element" should existAnd "//span[@class='token operator'][contains(text(),'=')]" "xpath_element" should existAnd "//span[@class='token punctuation'][contains(text(),'(')]" "xpath_element" should existAnd "//span[@class='token punctuation'][contains(text(),')')]" "xpath_element" should existAnd "//span[@class='token punctuation'][contains(text(),';')]" "xpath_element" should exist