Fix missing source_code in LaTeX HTML.
STUD-565
This commit is contained in:
@@ -11,3 +11,8 @@ Feature: HTML Editor
|
||||
And I edit and select Settings
|
||||
Then I can modify the display name
|
||||
And my display name change is persisted on save
|
||||
|
||||
Scenario: Edit High Level source is available for LaTeX html
|
||||
Given I have created an E-text Written in LaTeX
|
||||
When I edit and select Settings
|
||||
Then Edit High Level Source is visible
|
||||
|
||||
@@ -15,3 +15,14 @@ def i_created_blank_html_page(step):
|
||||
@step('I see only the HTML display name setting$')
|
||||
def i_see_only_the_html_display_name(step):
|
||||
world.verify_all_setting_entries([['Display Name', "Text", False]])
|
||||
|
||||
|
||||
@step('I have created an E-text Written in LaTeX$')
|
||||
def i_created_blank_html_page(step):
|
||||
world.create_component_instance(
|
||||
step,
|
||||
'.large-html-icon',
|
||||
'html',
|
||||
'.xmodule_HtmlModule',
|
||||
'latex_html.yaml'
|
||||
)
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
---
|
||||
metadata:
|
||||
display_name: E-text Written in LaTeX
|
||||
source_code: |
|
||||
\subsection{Example of E-text in LaTeX}
|
||||
source_code: |
|
||||
\subsection{Example of E-text in LaTeX}
|
||||
|
||||
It is very convenient to write complex equations in LaTeX.
|
||||
It is very convenient to write complex equations in LaTeX.
|
||||
|
||||
\begin{equation}
|
||||
x = \frac{-b\pm\sqrt{b^2-4*a*c}}{2a}
|
||||
\end{equation}
|
||||
\begin{equation}
|
||||
x = \frac{-b\pm\sqrt{b^2-4*a*c}}{2a}
|
||||
\end{equation}
|
||||
|
||||
Seize the moment.
|
||||
Seize the moment.
|
||||
|
||||
data: |
|
||||
<html>
|
||||
|
||||
Reference in New Issue
Block a user