Commit Graph

3927 Commits

Author SHA1 Message Date
JonahStanley
f2a31adf6f Now using world.is_firefox() 2013-08-08 13:24:28 -04:00
JonahStanley
5a579921f2 Fixed stylistic things and no longer skipped tests in firefox 2013-08-08 13:24:28 -04:00
JonahStanley
514af944cd Fixed video tests for firefox 2013-08-08 13:24:28 -04:00
JonahStanley
fb41e8f20c Fixed subsection test for firefox 2013-08-08 13:24:28 -04:00
JonahStanley
4c74a05c58 Added comments to the two flakey features on firefox 2013-08-08 13:24:27 -04:00
JonahStanley
36d948f5d3 Unskipped an acceptance test 2013-08-08 13:24:27 -04:00
JonahStanley
96db47e437 Fixed up the course-team tests 2013-08-08 13:24:27 -04:00
JonahStanley
3f49abc271 Only triggering event in firefox 2013-08-08 13:24:27 -04:00
JonahStanley
b8e29697d4 Fixed upload test for firefox 2013-08-08 13:24:27 -04:00
JonahStanley
2d709be29f Code mirror now will work on firefox 2013-08-08 13:24:26 -04:00
JonahStanley
83d2c808e0 Added comments saying why tests were skipped
Added comment

Removed set_trace
2013-08-08 13:24:26 -04:00
JonahStanley
7e67ee378a Checklist links will not appear using a firefox webdriver (will work manually) 2013-08-08 13:24:26 -04:00
JonahStanley
3e543ce4c6 Skipped a test for firefox due to different interactions 2013-08-08 13:24:26 -04:00
JonahStanley
973d5e653d Fixed issue of firefox behaving differently for erroneous input
Removed set traces
2013-08-08 13:24:26 -04:00
JonahStanley
9cce3a9a07 Cleaned up some tests and made them work for firefox 2013-08-08 13:24:26 -04:00
JonahStanley
46d0e5ed05 Fixed display-name bug and added in a function to trigger events on firefox as well as check if it is firefox 2013-08-08 13:24:26 -04:00
JonahStanley
94d0ad5563 Fixed issue preventing navigation to various course setting pages 2013-08-08 13:24:25 -04:00
JonahStanley
214ccaab5f Fixed notification and code mirror for firefox 2013-08-08 13:24:25 -04:00
Jonah Stanley
a867676ebb Merge pull request #612 from edx/jonahstanley/fix-upload-test
Fixed upload test.  Also added information to testing.md
2013-08-08 09:40:52 -07:00
Jay Zoldak
006b90af9f Modify cms acceptance tests to use auto_auth workflow. 2013-08-08 12:08:25 -04:00
Jay Zoldak
e78edf8ef9 Rename MITX_SETTING AUTOMATIC_AUTH_FOR_LOAD_TESTING -> AUTOMATIC_AUTH_FOR_TESTING because it will be used for acceptance testing also. 2013-08-08 12:08:25 -04:00
JonahStanley
e8b2789409 Fixed upload test. Also added information to testing.md 2013-08-08 11:32:30 -04:00
Peter Fogg
587d86bfb2 Add acceptance test for XML-only video content.
Since we've had issues with the default video being incorrectly shown,
this creates an XML-only video and ensures that the correct
(non-default) Youtube ID is sent to the client.
2013-08-08 10:48:07 -04:00
David Baumgold
32f76988c6 Update docstring 2013-08-08 09:53:19 -04:00
David Baumgold
7aec95c310 Removed get_module_previews function
According to @cpennington, no modules return anything for `get_sample_state`,
so this function is extraneous.
2013-08-08 09:52:41 -04:00
David Baumgold
a87a1bfcda Docstrings 2013-08-08 09:46:15 -04:00
David Baumgold
baa9bd5bdc Make sure to return the content, not the fragment 2013-08-08 09:46:15 -04:00
David Baumgold
3fa990ea60 Made some tests more general, less fragile 2013-08-08 09:46:15 -04:00
David Baumgold
8a95d7e6f0 XBlock integration: replaced get_html with runtime.render()
Currently calls the same machinery, but re-routes the logic in preparation of
deeper integration with XBlock
2013-08-08 09:46:15 -04:00
David Baumgold
9634e222be Refactored get_module_previews function 2013-08-08 09:46:15 -04:00
David Baumgold
4896444d10 Clean up item views, use JsonResponse class 2013-08-08 09:46:15 -04:00
chrisndodge
ece4ec3f57 Merge pull request #533 from edx/fix/cdodge/use-static-shorthand-for-asset-urls
To increase portability of courses, have the Asset Index page display the classic /static/... URL shorthand.
2013-08-08 06:32:35 -07:00
Peter Fogg
df024b0bb1 Fix VideoAlpha acceptance test. 2013-08-07 13:25:53 -04:00
Jonah Stanley
ead87d1fde Merge pull request #602 from edx/jonahstanley/fix-acceptance-template
Changed css_selector
2013-08-07 10:12:06 -07:00
JonahStanley
ed620e635b Reset the file within the test itself 2013-08-07 13:07:38 -04:00
JonahStanley
a38f71cdbc Fixed the upload test 2013-08-07 13:06:25 -04:00
Christina Roberts
2191a11151 Merge pull request #598 from edx/christina/email-studio-request
Send e-mail to STUDIO_REQUEST_EMAIL when user requests course creator privileges
2013-08-07 09:51:14 -07:00
David Baumgold
6e784d606f Merge pull request #596 from edx/db/ff-subsection-datetime-bug
Fix Firefox subsection datetime bug
2013-08-07 09:25:17 -07:00
JonahStanley
5919456f24 Fixed some course-team bugs and other css stuff 2013-08-07 12:03:25 -04:00
cahrens
bbd8d84a28 Include the URL to the course creator admin table. 2013-08-07 11:34:51 -04:00
JonahStanley
5941f5b795 Fixed the other places that the css occurs 2013-08-07 11:30:50 -04:00
David Baumgold
97aaab9cc6 Created a new lettuce test to catch bug, updated other lettuce tests 2013-08-07 11:03:19 -04:00
JonahStanley
9e93d5588c Changed css_selector 2013-08-07 10:14:50 -04:00
David Baumgold
18be93c3d9 Don't ignore null datetimes on subsection settings
Clicking "Sync to <course>" should send an AJAX request with the datetimes
set to null, so that the server resets them.
2013-08-07 09:45:48 -04:00
David Baumgold
10344905ba Abstracted functionality to get datetime into separate JS function 2013-08-06 17:09:12 -04:00
David Baumgold
eefed18b7c Scoped pad2 function to the one place that it's called 2013-08-06 16:48:09 -04:00
David Baumgold
2d534a35af Removed unused JS functions 2013-08-06 16:47:23 -04:00
cahrens
e6f15bf611 Send notification to admin when a user enters 'pending' state.
Also fixes a bug where message was not sent to user when entering 'denied'
state unless the user was previously in 'granted'.

Send notification to admin when a user enters 'pending' state.

Pylint cleanup.
2013-08-06 16:26:33 -04:00
cahrens
55f2cbc92f Split up event notification, make sorting on username work. 2013-08-06 15:58:55 -04:00
Christina Roberts
4c95078eb0 Merge pull request #578 from edx/christina/autoenroll
Auto-enroll course staff to fix "View Live".
2013-08-06 12:33:56 -07:00