Commit Graph

1062 Commits

Author SHA1 Message Date
Will Daly
e477cceefb Merge pull request #346 from edx/will/disable-flakey-tests
Disabled tests that are failing in Jenkins
2013-07-08 09:55:09 -07:00
Will Daly
7085b95bc0 Disabled video test that was failing on Mac OS X 2013-07-08 10:51:31 -04:00
chrisndodge
57d82dea10 Merge pull request #330 from edx/fix/cdodge/delete-course-delete-drafts
[STUD-380] Fix/cdodge/delete course delete drafts
2013-07-08 07:24:24 -07:00
Will Daly
01eb93eb47 Disabled tests that are failing in Jenkins 2013-07-08 10:02:01 -04:00
Jonah Stanley
0be0df1b59 Merge pull request #325 from edx/jonahstanley/fix-flakey-tests
Made a css_html to obtain the html of the css element.
2013-07-03 11:55:25 -07:00
Chris Dodge
656f2b15fd remove redundent test until we get clarity as to if unit tests are actually using the codejail functionality or not 2013-07-03 13:46:32 -04:00
Chris Dodge
7962ad7dd0 remove incorrect comment 2013-07-03 13:46:31 -04:00
Chris Dodge
bf3a7287f0 do some lamda magic to refactor out the whitelist checking code to be shared between LMS and CMS 2013-07-03 13:46:31 -04:00
Chris Dodge
11ef3961bc try to add some additional diff coverage which should get us to 100% 2013-07-03 13:46:31 -04:00
Chris Dodge
9a8c5857e6 change settings to add test course to sandbox whitelist to try to increase diff code coverage 2013-07-03 13:46:31 -04:00
Chris Dodge
0e0dfd22cf add test for customresponse problem type 2013-07-03 13:46:31 -04:00
Chris Dodge
8d858ecb49 add a unit test to exercise the preview_component AJAX callback in the CMS 2013-07-03 13:46:31 -04:00
Chris Dodge
63ed16e118 add a 'can_execute_unsafe_code' callback method (ala LMS) to allow for whitelisting of courses with respect to codejailing 2013-07-03 13:46:31 -04:00
JonahStanley
221db93f01 Revert "Skipping the flakey tests for now"
This reverts commit d383a8add7.
2013-07-03 13:39:36 -04:00
JonahStanley
7fabac9a4b Skipped Flakey Tests for now 2013-07-03 13:31:13 -04:00
JonahStanley
d383a8add7 Skipping the flakey tests for now 2013-07-03 13:28:33 -04:00
Chris Dodge
b18fb97eed extend tests to assert that all draft content is cleaned up. Also add assertion that assets are deleted as well 2013-07-03 11:24:30 -04:00
JonahStanley
12a7922f89 Overzealous changing of find to click 2013-07-03 11:00:46 -04:00
JonahStanley
19513e4134 Refactored all clicks to use the css_click method 2013-07-03 10:34:56 -04:00
JonahStanley
9a5326bca5 Made a css_html to obtain the html of the css element.
This works like css_click in that it will retry if there was a stale element reference exception
2013-07-02 16:46:20 -04:00
Jonah Stanley
852292ebf7 Merge pull request #324 from edx/jonahstanley/fix-component-test
Jonahstanley/fix component test
2013-07-02 11:55:46 -07:00
JonahStanley
47158d7079 Using the success condition
Got rid of announcement test

Removed assumption about uniqueness of css steps
2013-07-02 14:52:32 -04:00
Adam Palay
c692428fe5 fix pylint violations 2013-07-02 10:22:26 -04:00
JonahStanley
3e44f8a213 Component test now fails with useful information 2013-07-02 09:05:58 -04:00
Adam Palay
03aee3ed79 add tests 2013-07-01 18:21:47 -04:00
Jonah Stanley
6f8a31206a Merge pull request #280 from edx/jonahstanley/explicit-component-creation-tests
Explicitly test the creation and deletion of every component type
2013-07-01 13:48:15 -07:00
Calen Pennington
1a7b833146 Merge pull request #269 from edx/dhm/incidental-functionality-improvements
Incidental functionality improvements from Next Gen Modulestore work
2013-07-01 13:04:20 -07:00
David Baumgold
923bcc555c Make CMS errors JSON-able if requested via AJAX 2013-07-01 15:09:41 -04:00
Don Mitchell
ef9c299413 Work around XBlock limitations to force persistance of field mutation 2013-07-01 12:33:08 -04:00
Don Mitchell
2fc7d3308c Customtags can't be inserted by studio 2013-07-01 12:33:08 -04:00
Don Mitchell
a2524c517f Force locations to be Location objects earlier 2013-07-01 12:33:08 -04:00
Don Mitchell
db59acaa60 Assert date equality directly, rather than by using a delta of 0 2013-07-01 12:31:36 -04:00
Don Mitchell
274f1d17f3 Test start_date in course settings 2013-07-01 12:31:36 -04:00
Peter Fogg
1809fde60c Pylint cleanup. 2013-07-01 09:16:25 -04:00
Peter Fogg
b3cd6af9aa Change deleted Alert to a Notification, with a timeout. 2013-06-28 14:46:58 -04:00
Don Mitchell
2ef4d82959 Standardize on get_default_time_display 2013-06-28 14:19:10 -04:00
Don Mitchell
e9bd1c5602 Fix SessionKeyValueStore.has to use the correct indexing value when looking up data 2013-06-28 14:19:10 -04:00
Peter Fogg
1be2068bcf Show a confirmation on asset delete. Fixes STUD-375. 2013-06-28 12:28:49 -04:00
JonahStanley
1a5bda4d08 Broke up long line into smaller line 2013-06-27 16:35:01 -04:00
cahrens
32e6d4819f pep8/pylint cleanup. 2013-06-27 16:18:16 -04:00
cahrens
27e720cf3b Make it clear that this should only be run once. 2013-06-27 11:00:11 -04:00
JonahStanley
ea8e5f84ac Cleaned up code 2013-06-27 10:14:43 -04:00
cahrens
0e0f22999d Add doc strings. 2013-06-27 09:52:18 -04:00
cahrens
ce100bad88 Add doc strings. 2013-06-27 09:48:47 -04:00
cahrens
3babf53925 Handle the case of script being terminated before the user was deleted. 2013-06-27 09:44:09 -04:00
cahrens
42f71156de Script for making all instructors content creators. 2013-06-27 08:59:04 -04:00
Calen Pennington
6e357db24c Merge pull request #268 from edx/dhm/cosmetic-cleanup
Cosmetic Cleanups Incidental to Next Gen Modulestore Implementaton
2013-06-27 05:44:49 -07:00
JonahStanley
621777e6ae Explicitly test the creation and deletion of every component type
The testing of all settings/text editing have been done elsewhere and should be done when testing a new component
2013-06-26 16:01:31 -04:00
Don Mitchell
1344b1e521 Make SessionKeyValueStore variable names clearer 2013-06-26 14:19:33 -04:00
Don Mitchell
65b3bcdba6 Clean up variable naming 2013-06-26 14:19:33 -04:00