Skip to content

Tests for behavior of export with & in HTML and XML-based components - #2055

Merged
cahrens merged 3 commits into
masterfrom
christina/amp
Jan 7, 2014
Merged

Tests for behavior of export with & in HTML and XML-based components#2055
cahrens merged 3 commits into
masterfrom
christina/amp

Conversation

@cahrens

@cahrens cahrens commented Dec 30, 2013

Copy link
Copy Markdown

These are tests to nail down the current behavior of export with & exists in an HTML component or a problem (XML) component.

See STUD-91

& is OK in an HTML component, and there is an import/export roundtrip test that uses the toy course. Therefore I added & to an existing HTML component in the toy course.

& is not OK in a problem (XML-based component). I added a test that export will fail with a way to click to the failing component. The Studio preview view of the component shows the error, so this failure should be clear to users.

@jzoldak Please review.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not be using a pattern of absorbing all the methods from component_settings_editor_helpers into world. Instead we should just import them. Can you please refactor this?

@cahrens

cahrens commented Jan 6, 2014

Copy link
Copy Markdown
Author

@jzoldak Can I get a thumb?

@jzoldak

jzoldak commented Jan 7, 2014

Copy link
Copy Markdown
Contributor

👍

cahrens pushed a commit that referenced this pull request Jan 7, 2014
Tests for behavior of export with & in HTML and XML-based components
@cahrens
cahrens merged commit c711bb6 into master Jan 7, 2014
@cahrens
cahrens deleted the christina/amp branch January 7, 2014 15:36
shimulch pushed a commit to open-craft/openedx-platform that referenced this pull request Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants