Sarina Canelake
20e2ee9a57
s/pylint: disable=E0611/pylint: disable=no-name-in-module/
2014-12-01 11:22:09 -05:00
Sarina Canelake
e0f1d3f3f3
s/pylint: disable=C0111/pylint: disable=missing-docstring/
2014-12-01 11:22:09 -05:00
Sarina Canelake
0dad9da5e4
s/pylint: disable=W0621/pylint: disable=redefined-outer-name/
2014-12-01 11:22:08 -05:00
John Eskew
fd6c9bed28
Fix course export/updates and upload CMS acceptance tests.
2014-10-03 10:55:59 -04:00
Calen Pennington
29f7fe14fb
Merge remote-tracking branch 'edx/master' into ok-merge-from-master
2014-05-23 10:05:56 -04:00
zubiar-arbi
08f313f9b4
move upload code for assets to AssetsView
...
STUD-1523
2014-05-21 17:15:04 +05:00
Calen Pennington
0d88379eeb
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit adds all of cms.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-07 12:56:43 -04:00
Alexander Kryklia
e2de072f9b
Fix flaky acceptance test.
2014-04-01 12:20:05 +03:00
Jay Zoldak
c5a7911b87
Fix pylint disable pragmas that were pep8 violations
2014-03-20 10:18:40 -04:00
Jay Zoldak
ecea49ba2d
Refactor wait_for methods in ui_helpers for acceptance tests.
2013-10-21 17:14:01 -04:00
Jay Zoldak
751994b9aa
pep8 and pylint fixes
2013-10-16 15:03:14 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
Jay Zoldak
855d5d9e4a
Fix the matcher for the word 'test' in the upload file step of acceptance tests
2013-10-03 16:14:30 -04:00
polesye
2a2c9d1989
Fix regexp.
2013-10-02 21:45:38 +03:00
polesye
960c2ec472
Fix acceptance tests.
2013-10-02 20:23:42 +03:00
Jay Zoldak
6e3ece92e3
Refactor upload acceptance tests and add locked asset tests for registered user
2013-10-02 08:12:58 -04:00
cahrens
2cbdaaee7d
Updates based on switching to checkbox for locking.
2013-09-25 17:29:47 -04:00
cahrens
5e475c8732
Code review feedback.
2013-09-25 17:29:47 -04:00
cahrens
f10cf29425
Update upload test for what actually works now.
2013-09-25 17:29:27 -04:00
cahrens
c64e04d8c2
Add the ability to lock assets.
2013-09-25 17:29:27 -04:00
Jay Zoldak
2ff056df8c
Simplify retry logic for ui helper functions
2013-09-16 16:49:17 -04:00
Julian Arni
0acaaa8859
Fix element name conflict
2013-09-09 18:32:01 -04:00
Julian Arni
d0f7206099
Review fixes
2013-09-06 09:25:45 -04:00
Julian Arni
035c4c02b0
Add acceptance tests for multiple files
2013-09-02 22:47:06 -04:00
JonahStanley
b2480b5f00
Changed way feature flags are interpreted
...
Configurations must be defined before hand
Reduced pylint violations
We only support 4 browsers
2013-08-21 16:05:53 -04:00
JonahStanley
b8e29697d4
Fixed upload test for firefox
2013-08-08 13:24:27 -04:00
JonahStanley
e8b2789409
Fixed upload test. Also added information to testing.md
2013-08-08 11:32:30 -04: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
JonahStanley
20ce33dcdb
Fixed broken tests from chrome versioning
2013-07-29 13:38:27 -04:00
JonahStanley
0bd1e78e03
Acceptance tests use random ports
2013-07-09 12:18: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
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
Peter Fogg
1be2068bcf
Show a confirmation on asset delete. Fixes STUD-375.
2013-06-28 12:28:49 -04:00
JonahStanley
a52d0beb41
Got rid of leftover set_trace
2013-06-20 17:00:46 -04:00
JonahStanley
70d48e2e9f
Now referencing css element
2013-06-20 16:40:13 -04:00
JonahStanley
b9d79aea60
A bunch of pylint fixes and explicit use case for uploads/test
2013-06-20 15:55:53 -04:00
JonahStanley
650a2ba423
Added deletion tests
2013-06-18 11:20:23 -04:00
JonahStanley
25fe8e8070
Now using context files and os.path
2013-06-17 15:54:10 -04:00
JonahStanley
40bf2514ab
Added tests for downloading files
...
A few notes:
1. Downloads are done through direct requests. This is due to the difficulty of downloading a file to the correct place
2. Modifiying a file will just change the file to a random 10 character string.
3. The page is reloaded in between uploads. This is due to a current caching bug that is in the process of being looked into and will be updated once it is fixed.
2013-06-13 11:00:45 -04:00
JonahStanley
6d686dd9f6
Changed the way the file path was obtained
2013-06-12 13:32:46 -04:00
JonahStanley
1b5050c9ac
Changed the following:
...
% to format
css_find().click() to its actual function
A few name changes as well as step changes
Removal of drag testing
A refactoring of login and create user. Login will no longer create the specified user
2013-06-12 13:25:33 -04:00
JonahStanley
c74d76a36b
Removed test breakpoint
2013-06-11 10:07:13 -04:00
JonahStanley
d471bcb723
Added tests for uploading files
...
TODO: When deleting is available, test deleting uploaded files`
2013-06-11 10:00:52 -04:00