Commit Graph

15546 Commits

Author SHA1 Message Date
Chris Dodge
db7434fa18 add comment as to why we are turning off this feature flag 2013-07-12 20:02:23 -04:00
Chris Dodge
1060cf5cec Seems like the Edit/QA links in LMS are triggered by a ENABLE_LMS_MIGRATION feature flag. So when running as mongo-backed, set that to False 2013-07-12 11:51:57 -04:00
mikigoyal
4eb82224f0 Merge pull request #382 from edx/bug/lms-600
Fix alt text for the login page: LMS-600
2013-07-12 07:45:50 -07:00
Jonah Stanley
70ce6a11e0 Merge pull request #333 from edx/jonahstanley/fix-flakey-video-test
Jonahstanley/fix flakey video test
2013-07-12 07:28:53 -07:00
Miki Goyal
4c8eb6b0d5 Adding myself to authors file 2013-07-12 10:24:48 -04:00
Miki Goyal
5fd84465e2 Fix alt text for the login page: LMS-600 2013-07-12 10:05:13 -04:00
JonahStanley
d1661fa6aa Refactored recently merged in tests 2013-07-12 09:28:51 -04:00
JonahStanley
c37a9e3e23 Refactored problem_setup to use retry_on_exception 2013-07-12 09:28:51 -04:00
JonahStanley
b4036c66cf Refactored the ui tests to use retry_on_exception 2013-07-12 09:28:50 -04:00
JonahStanley
ebc9fa9e2a Made a retry_on_exception world function that will retry the given function 2013-07-12 09:28:50 -04:00
JonahStanley
1ae86673f3 Changed a world.browser.find_by_css to world.css_find 2013-07-12 09:28:50 -04:00
JonahStanley
1f648d901e Revert "Reworded css_text to use css_find"
This reverts commit a7de337fe2d218d6cb9c2f175c6ea71f5ddcb6da.
2013-07-12 09:28:50 -04:00
JonahStanley
287b750a22 Reworded css_text to use css_find 2013-07-12 09:28:50 -04:00
JonahStanley
2c0c8dfb90 Fixed structure of css_text and css_value 2013-07-12 09:28:50 -04:00
JonahStanley
c53aac4596 CMS acceptance tests now should not get stale element exception errors 2013-07-12 09:28:50 -04:00
JonahStanley
f1dd81a67a Refactored LMS so all potential stale element exceptions are avoided 2013-07-12 09:28:49 -04:00
JonahStanley
8b0e7c5782 Made a new command css_has_class that will safely check the class and get around stale elements 2013-07-12 09:28:49 -04:00
JonahStanley
d86502bdc1 Added in a retry for checking the class of the video 2013-07-12 09:28:49 -04:00
Peter Fogg
b7eb287aa9 Merge pull request #379 from edx/peter-fogg/fix-notification-saving
Fix saving notification CSS.
2013-07-12 06:26:41 -07:00
Peter Fogg
871ab87bf2 Fix saving notification CSS. 2013-07-12 09:01:03 -04:00
James Tauber
d6edbd5e18 Merge pull request #377 from edx/jtauber/fix-virtualenv-directory
Use $WORKON_HOME consistently for virtualenv.
2013-07-11 21:13:49 -07:00
James Tauber
047da7a7ce Use $WORKON_HOME consistently for virtualenv.
Some parts of the `create-dev-env/sh` script use `$WORKON_HOME` and
others hardcode `$HOME/.virtualenvs` which means if you **don't** put
your virtualenvs under `$HOME/.virtualenvs`, the script doesn't work at
all.

This commit removes the hardcoding of virtualenv location and
consistently uses `$WORKON_HOME` everywhere.
2013-07-11 18:18:22 -04:00
Peter Fogg
8b13ff3dff Merge pull request #376 from edx/peter-fogg/rename-notification-save
Rename CMS.Views.Notification.Saving to Mini.
2013-07-11 14:25:44 -07:00
Peter Fogg
5b4524d75e Merge pull request #301 from edx/peter-fogg/explicit-course-settings
Peter fogg/explicit course settings
2013-07-11 14:09:07 -07:00
Peter Fogg
42ff1c2237 Merge pull request #366 from edx/peter-fogg/stud-116
Use new feedback notification when changing section release dates.
2013-07-11 13:34:07 -07:00
Peter Fogg
6e94960488 Fix many validation bugs and failing tests. 2013-07-11 16:09:59 -04:00
chrisndodge
cf2b1e0595 Merge pull request #372 from edx/fix/cdodge/update-localdev-setting-for-unsafe-courses
Fix/cdodge/update localdev setting for unsafe courses
2013-07-11 13:01:45 -07:00
Peter Fogg
c2f0b7d4e9 Fix validation in many cases, and ensure that the notification bar pops up correctly. 2013-07-11 15:53:51 -04:00
Jonah Stanley
50ea165a8e Merge pull request #297 from edx/jonahstanley/refactor-unittest-courses
Jonahstanley/refactor unittest courses
2013-07-11 12:44:05 -07:00
JonahStanley
5d300bf36f Fixed the broken unit tests from deleting full 2013-07-11 14:34:41 -04:00
Chris Dodge
fbe2cde6e5 add simple unit test on the defaulting of the settings 2013-07-11 14:31:53 -04:00
Peter Fogg
7c9648babd Hide saving notification only when AJAX request completes. 2013-07-11 13:27:15 -04:00
Peter Fogg
9c8f63726f Rename CMS.Views.Notification.Saving to Mini, in line with its more diverse modern usage. 2013-07-11 13:13:08 -04:00
David Ormsbee
be3d11449b Merge pull request #320 from edx/dave/ie8_csrf_fix
Remove use of keyword "delete" in forum coffee code to fix IE8 bug LMS-441
2013-07-11 09:31:46 -07:00
Jonah Stanley
38cabe91ee Merge pull request #369 from edx/jonahstanley/unskip-acceptance-tests
Unskip Acceptance Tests
2013-07-11 09:14:53 -07:00
Chris Dodge
c3ad168b10 also add some defaulting to the querying of the settings where it defaults to an empty set 2013-07-11 12:12:42 -04:00
JonahStanley
4e015eacf5 Fixed the whitelist test to not use full course 2013-07-11 12:05:18 -04:00
Chris Dodge
b39edd821c seems like we need to define COURSES_WITH_UNSAFE_CODE in cms.envs.common.py, although cms.envs.common.py imports lms.envs.common (where this is defined). 2013-07-11 12:05:07 -04:00
JonahStanley
24ab36c87a Unskip Acceptance Tests 2013-07-11 11:33:40 -04:00
Peter Fogg
f3837009af Remove ellipsis from internationalized notifications. 2013-07-11 11:26:17 -04:00
John Jarvis
67f8d48840 Merge pull request #367 from edx/jarv/gce-email-backend
adding option for file based backend
2013-07-11 08:02:47 -07:00
JonahStanley
d2632227de Fixed all but one test 2013-07-11 10:55:00 -04:00
David Baumgold
11fa458692 Merge pull request #368 from edx/db/fix-course-team-add-user
Fix course team JS to handle non-200 status codes
2013-07-11 07:17:34 -07:00
JonahStanley
676da2d592 Removed set trace 2013-07-11 10:12:10 -04:00
JonahStanley
7b9a725201 Fixed comment relating to full course 2013-07-11 10:12:09 -04:00
JonahStanley
67326cfae8 Fixed xmodule tests to not rely on full
Also fixed things in the toy course where needed
2013-07-11 10:12:09 -04:00
JonahStanley
7fb5f505d6 Refactored out full from the lms tests 2013-07-11 10:12:06 -04:00
JonahStanley
982777f547 All cms unit test no longer rely on the full course.
Factories were used when possible but tests depending on importing or things not manageable by factories used the toy course.  New files were added to include the needed functionality.  Most files are blank or have minimal xml needed to work
2013-07-11 10:09:05 -04:00
JonahStanley
55e6d1ad67 Asset tests do not rely on the full course
A blank asset file was also added to toy
2013-07-11 10:08:47 -04:00
JonahStanley
62f2764728 First half of refactorization.
This fixes the following tests(T stands for toy, F stands for factory made):
T import_textbook_as_content_element (needed to add a textbook to toy)
F static_tab_reordering
T import polls (needed to add a poll to toy)
T xlint_fails
F delete
T about_overrides (needed to add an about override to toy)
F remove_hide_progress_tab
2013-07-11 10:08:40 -04:00