Commit 92d2ce38 by Robert Lyon

Bug 1688126: Fixing problem with behat and mathjax

Also adjusting the page_number_interval_sharedwithme.feature so that setup stuff is done as a background step Change-Id: If6c0feb69d0d98a5da29f9ee5204723faeb71afe Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent c9cee415
......@@ -9,7 +9,7 @@
-->
<script src="http://yui.yahooapis.com/3.14.1/build/yui/yui-min.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="http:./styles.css">
<script>
......
......@@ -672,7 +672,7 @@ $cfg->ajaxifyblocks = true;
* @global string $cfg->mathjaxpath Determines the path to CDN or server-local installation of MathJax.js.
* If MathJax is enabled, use to configure path to MathJax.
*/
$cfg->mathjaxpath = '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&delayStartupUntil=configured';
$cfg->mathjaxpath = '//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML&delayStartupUntil=configured';
/**
* @global string $cfg->mathjaxconfig Determines MathJax configuration options.
......
......@@ -10,7 +10,6 @@ Scenario: Making adjustments to the mathslate plugin for mahara (Bug 1472446)
And I follow "General settings"
And I enable the switch "Enable MathJax"
And I press "Update site options"
And I should see "Site options have been updated."
And I choose "Pages and collections" in "Configure site" from administration menu
And I follow "Add"
And I click on "Page" in the dialog
......@@ -18,7 +17,6 @@ Scenario: Making adjustments to the mathslate plugin for mahara (Bug 1472446)
| Page title | test |
| Page description | testing |
And I press "Save"
And I should see "Page saved successfully"
And I wait "1" seconds
And I choose "Pages and collections" in "Configure site" from administration menu
And I follow "test"
......
......@@ -4,12 +4,12 @@
As a student
So I can navigate more efficiently through a large amount of pages.
Scenario: Checking the jump list of the paginagtor (Bug 1409370)
Background:
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
| userB | Kupuhipa1 | test02@example.com | Simon | Mc | mahara | internal | member |
And I log in as "userA" with password "Kupuhipa1"
And the following "pages" exist:
| title | description| ownertype | ownername |
| A's Page 01 | UserA's page 01 | user | userA |
......@@ -34,6 +34,9 @@
| A's Page 20 | UserA's page 20 | user | userA |
| A's Page 21 | UserA's page 21 | user | userA |
| A's Page 22 | UserA's page 22 | user | userA |
Scenario: Checking the jump list of the paginagtor (Bug 1409370)
Given I log in as "userA" with password "Kupuhipa1"
And I choose "Portfolio" from main menu
And I click the panel "A's Page 01"
And I follow "Edit this page"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment