Don Mitchell
8fe99a6be2
Revert "Revert "Merge pull request #1240 from edx/dhm/config_separation""
...
This reverts commit a517dc2085 .
2013-10-18 09:22:30 -04:00
Will Daly
82535f3bcb
Enable and update bulk email acceptance test
2013-10-15 21:30:28 -04:00
John Jarvis
a517dc2085
Revert "Merge pull request #1240 from edx/dhm/config_separation"
...
This reverts commit ec01253e30 , reversing
changes made to ae8c9710e5 .
2013-10-10 13:14:08 -04:00
Don Mitchell
44d0494d33
Segregate the mongo db config from the modulestore config
...
as a first step to separating db connection from modeling
and to support location mapper and contentstore using same db config as modulestore
2013-10-08 15:01:48 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
Will Daly
05669fadde
Catch WebDriver exceptions when creating selenium browser
2013-10-02 12:18:13 -04:00
Jay Zoldak
002f3ef9e2
Speed up waiting for elements not present on remote webdriver sessions.
2013-09-24 11:27:42 -04:00
Jay Zoldak
9e368b8d9a
Quiet the output of passing acceptance tests
2013-09-18 15:51:10 -04:00
Jay Zoldak
4c411e2121
Add ability to run against generic selenium grid
2013-09-18 13:49:34 -04:00
Jay Zoldak
30b13d3cf1
Improve code clarity and error messages for css selection
2013-09-16 16:49:18 -04:00
Jay Zoldak
2ff056df8c
Simplify retry logic for ui helper functions
2013-09-16 16:49:17 -04:00
David Baumgold
45f38ddf81
Update requests library to 1.2.3
2013-09-10 09:59:21 -04:00
Will Daly
e94515df80
Fix for acceptance test static file issue
2013-09-03 11:36:23 -04:00
Calen Pennington
407b02b358
Centralize startup code, and execute in all contexts
...
Inspired by: http://eldarion.com/blog/2013/02/14/entry-point-hook-django-projects/
Moves startup code to lms.startup and cms.startup, and calls the startup
methods in wsgi.py and manage.py for both projects.
2013-08-27 12:12:20 -04:00
Will Daly
c680dfdd40
Merge pull request #768 from edx/will/use-mixed-modulestore-in-tests
...
Will/use mixed modulestore in tests
2013-08-23 08:38:09 -07:00
JonahStanley
d96595318a
Stylistic changes
...
CMS tests should now run on IE
CMS tests will now run on Safari
Rebased wrong
Forgot to update the test_acceptance.sh
Changed way of string splitting
2013-08-22 10:08:35 -04:00
Will Daly
151782acf0
LMS acceptance tests use mixed modulestore
2013-08-21 16:23:48 -04:00
JonahStanley
21f75ff250
Various stylistic and pylint fixes / changes
...
Version numbers have very different ranges for different browsers so not having a dictionary of those.
Fixed a whitespace issue
Fixed pylint/pep8 violations
Don't need django_url
Spacing issues
Changed how commenting works
Forgot one
Used wrong name
Changed around importing
Remove django_url
Fixed function orderingn
Made logic nicer for getting a new browser
Modifying tests to run in opera
Needed to increase time to account for slow sauce loading
Now safari LMS works
Forgot an assert statement
Skipping a few tests for opera
2013-08-21 16:05:52 -04:00
JonahStanley
22b3f2b161
Factored out Sauce related things to one file
...
LMS was arbitrarily chosen for now.
Fixed up pylint and pep8 errors
Fixed up pylint and pep8 errors
Changed naming to be better
Changed Sauce Info to obtaining a JSON string
2013-08-21 16:05:03 -04:00
JonahStanley
35e5f4cab5
Moved global things in browser.py to functions
2013-08-21 16:05:02 -04:00
JonahStanley
0b6e62984e
Using requests instead of a HTTPConnect
2013-08-21 16:05:02 -04:00
JonahStanley
58bb6e1ea3
Changed tags to be lowercase to prevent preprocessing
...
Changed to have a default for device since it isn't always needed
Tags are more clear
Fixed stylistic issues
2013-08-21 16:05:02 -04:00
JonahStanley
ee23b9d161
Changed method of obtaining feature flags to environment variables
...
Conflicts:
common/djangoapps/terrain/browser.py
2013-08-21 16:05:02 -04:00
JonahStanley
9fb0529036
Sauce can only connect on certain ports
2013-08-21 16:05:02 -04:00
JonahStanley
3cf8083717
Upgraded selenium version for sauce
2013-08-21 16:05:01 -04:00
JonahStanley
2812b9cd5c
Fixed how config was obtained
...
Added comment about the feature
2013-08-21 16:05:01 -04:00
JonahStanley
682d85c2f3
Changed feature to being one dictionary
...
Conflicts:
common/djangoapps/terrain/browser.py
2013-08-21 16:05:01 -04:00
JonahStanley
3746c654d8
Added a tag for things that will not work on Firefox
...
Added tags for tests that will not work on Sauce
Changed build name
Tightened up logic
Conflicts:
common/djangoapps/terrain/browser.py
Added flag for session name
2013-08-21 16:05:01 -04:00
JonahStanley
97df5aa997
Added feature flag for device type. Needed for android tablets
2013-08-21 16:05:01 -04:00
JonahStanley
1d7284b7cd
Refactored out more for feature flags
...
Refactored more for feature flags
2013-08-21 16:05:01 -04:00
JonahStanley
010fd5771d
Pass/Fail status updated properly
...
Conflicts:
common/djangoapps/terrain/browser.py
2013-08-21 16:05:00 -04:00
JonahStanley
28d9bbaff2
Change build name generation
...
Browser Matrix Data only applies to latest build information
2013-08-21 16:05:00 -04:00
JonahStanley
f4c19919cd
Beginnings of a feature flag
...
Conflicts:
common/djangoapps/terrain/browser.py
Changed way feature flag was checked
Conflicts:
common/djangoapps/terrain/browser.py
2013-08-21 16:05:00 -04:00
JonahStanley
876651009e
Logging out no longer uses cookies.
...
Removed other cookie reference
2013-08-21 16:05:00 -04:00
JonahStanley
eb7fe7c927
Added browser matrix (might not display yet)
...
Added build information. Status image will now display properly
2013-08-21 16:05:00 -04:00
Jay Zoldak
81151ab67a
Prototype for running acceptance tests via Sauce Labs Connector
...
Added in more desired capabilities and fixed the browser creation
Sauce Labs is now updated if the test suite passes or fails
2013-08-21 16:05:00 -04:00
David Baumgold
df1252901f
Misc improvements to make lettuce testing a bit saner
2013-07-25 13:19:39 -04:00
JonahStanley
940113efee
Fixed long lines
2013-07-12 10:32:49 -04:00
JonahStanley
35094a968b
Beginnings of refactoring the acceptance tests
2013-07-12 10:32:45 -04:00
JonahStanley
28142d51f9
Added comment about how the resetting of the database works
2013-07-09 08:54:20 -04:00
JonahStanley
b0d70008e4
Changed when the databases are reset
...
This might allow parallel features in the future
2013-07-09 08:54:20 -04:00
JonahStanley
789b711023
Acceptance tests now pull from their own unique database
...
These databases/collections are cleared after harvest
2013-07-09 08:54:19 -04:00
Ned Batchelder
181b1e979b
Remove unused imports from common, as reported by pylint.
2013-06-19 16:56:34 -04:00
Jay Zoldak
59b26a791b
Turn off automatic snapshot to tmp dir on lettuce failure
2013-06-04 15:09:44 -04:00
Will Daly
bab4b18647
Set the browser size on startup of acceptance tests.
...
This resolves an issue on Mac OS X in which the login dropdown
arrow couldn't be clicked because it was off-screen.
It should make the test suite more stable.
2013-05-17 17:21:44 -04:00
Will Daly
1e1e6450df
Pep8 fixes
2013-05-16 11:33:50 -04:00
Will Daly
8e069c1faa
Skip tests that break on Ubuntu due to alerts (which will be removed
...
soon anyway). Removed @skip-phantom and @skip-firefox tags
Fixed sign up test to work in Ubuntu
Added comments
2013-05-15 09:39:07 -04:00
Will Daly
ee5f0ac0ce
Workaround for Ubuntu ChromeDriver issue. Now retries
...
until it acquires a valid session.
2013-05-15 08:24:27 -04:00
Will Daly
2e0b5b24d8
Pylint and pep8 fixes
2013-05-13 15:21:45 -04:00
Will Daly
c730d43dbf
Resolved import conflict involving django-staticfiles
...
(lettuce assumes we are using django.contrib.staticfiles).
This allows us to run the django-admin.py harvest test server,
instead of launching the server ourselves.
2013-05-10 09:18:37 -04:00