Commit Graph

197 Commits

Author SHA1 Message Date
JonahStanley
eec095a195 Changed naming of attempts to max_attempts and changed css_selector 2013-06-20 15:38:56 -04:00
JonahStanley
96c4d2877f Navigation now has a click success condition 2013-06-20 14:05:00 -04:00
JonahStanley
e1d4c69365 Merge branch 'master' into jonahstanley/fix-flakey-tests
Conflicts:
	common/djangoapps/terrain/ui_helpers.py
2013-06-20 11:17:15 -04:00
JonahStanley
a8789dced9 Fixed flakey check box by making a css_check function that behaves like css_click
As a result, changed inputfield to return the css, and all of the element.fill() to css_fill
2013-06-20 11:14:17 -04:00
JonahStanley
1e51bd7314 Fixed flakey navigation tests by changing css
Now only check for the css that appears when the accordion is done
2013-06-20 10:58:11 -04:00
JonahStanley
033b974047 Fixed flakey show answer test 2013-06-20 10:54:43 -04:00
Will Daly
dbd2716e29 Updated video alpha template name to reflect recent changes in master. 2013-06-20 07:44:33 -04:00
Will Daly
3b37e0c19f Fixed incorrect videoalpha template name 2013-06-20 07:40:12 -04:00
Will Daly
e76ef3aa31 Combined video and videoalpha acceptance tests.
Resolved conflict between two steps with the same name.
2013-06-20 07:40:12 -04:00
Renzo Lucioni
0bf02cabff Fix for the failing acceptance tests 2013-06-19 16:48:25 -04:00
Don Mitchell
1ff022e181 Incidental pep8 changes 2013-06-18 17:25:06 -04:00
Jonah Stanley
94238238e7 Merge pull request #58 from edx/jonahstanley/add-navigation-tests
Jonahstanley/add navigation tests
2013-06-18 07:29:17 -07:00
Alexander Kryklia
9f4dcbcd1b disables pylint warning for lettuce tests syntax 2013-06-14 11:12:32 +03:00
Valera Rozuvan
4c544d6f49 Added lettuce tests for autoplay in videoalpha. 2013-06-14 11:12:32 +03:00
JonahStanley
daf5ef146e Fixed weird issue of needed to sometimes first find then click instead of css_click 2013-06-13 16:33:39 -04:00
JonahStanley
e843f80e1f Fixed naming issue and hopefully clicking issue 2013-06-11 17:09:39 -04:00
Jay Zoldak
32562b7055 Fix broken lettuce tests 2013-06-11 15:16:12 -04:00
Jay Zoldak
37d7bc2365 Update lettuce test for problems with new css for show and hide answers. 2013-06-11 13:52:35 -04:00
JonahStanley
1fefec2176 Fixed the need of a global variable 2013-06-06 15:28:45 -04:00
JonahStanley
8d15b74a97 Fixed errors in spacing and refactoring out of scenario 2013-06-06 14:38:59 -04:00
JonahStanley
c62cc23bc2 Refactored Navigation Methods 2013-06-04 13:06:18 -04:00
JonahStanley
862bb3f8bc Added the beginnings of the navigation tests
I still need to refactor the methods but at this point, all tests work
2013-06-04 11:34:52 -04:00
JonahStanley
6af54ead39 Fixed scenario wording 2013-06-03 12:43:54 -04:00
JonahStanley
0d11eb16ba Fixed typo
I accidently had show_answer instead of showanswer.  This error was hidden by a previous default of showanswer=always.
2013-06-03 11:52:40 -04:00
JonahStanley
a17c487f16 Merged from Master 2013-06-03 09:46:19 -04:00
Peter Fogg
5434f2750e Cleaning up code to fix pylint/pep8 errors. 2013-05-31 15:58:12 -04:00
JonahStanley
cb9da2cd03 Potentially fixed all flakey tests
New function was added: is_css_not_present
This function works like is_css_present in that it will wait and can take in an optional argument to wait longer.  This should be used everywhere INSTEAD of not is_css_present as in the latter case, you are telling selenium to wait for the thing you don't want to be there to either be there or time out.
2013-05-31 15:16:45 -04:00
JonahStanley
3308bb4be7 Fixed pull request comments and refactored the duplicate code 2013-05-31 14:53:29 -04:00
Peter Fogg
2277c82efd Fix pep8 whitespace violation. 2013-05-31 12:54:09 -04:00
Peter Fogg
a503a753cd Remove unnecessary pylint warning disable. 2013-05-31 12:16:25 -04:00
Peter Fogg
782cb05410 Add passing Lettuce testing for video autoplay in LMS. 2013-05-31 11:22:45 -04:00
JonahStanley
a49acc73ee Removed the save_html line 2013-05-31 09:16:14 -04:00
Peter Fogg
1ead857792 Working on Lettuce tests for video in LMS.
In progress, committing for the great git history rewrite.
2013-05-30 15:01:23 -04:00
JonahStanley
c27391ce8f Accidently left in a set_trace and forgot to include files 2013-05-30 15:00:01 -04:00
JonahStanley
ccc253d5c0 Sped up tab lettuce test 2013-05-30 14:56:08 -04:00
JonahStanley
7fe206a9d2 Sped up some Lettuce Tests 2013-05-30 14:23:49 -04:00
JonahStanley
62b74008e6 Added tests for Limited Attempt Problems and Showing the Answer 2013-05-30 14:22:37 -04:00
JonahStanley
c3c4a0e9ad Hopefully fixed registration flakey test 2013-05-28 15:22:47 -04:00
Diana Huang
dadcdd0599 Fix lettuce signup feature to match Drupal site. 2013-05-17 10:51:38 -04:00
Diana Huang
acfcd0f8a4 Fix the login lettuce feature for the new Drupal site. 2013-05-17 10:51:38 -04:00
Diana Huang
b6c0081064 Look for the existence of the links, not for
the actual urls
2013-05-16 16:30:29 -04:00
Diana Huang
22cf0dfa97 Fix bug in lettuce tests where the unregister dialog wasn't
getting closed fast enough.
2013-05-16 16:30:29 -04:00
Will Daly
b42c4dacf7 Added test for "radio" choicegroup 2013-04-17 15:32:39 -04:00
Calen Pennington
6644b78819 Fix gradebook when using grade cutoffs other than A/B/C 2013-04-16 11:38:58 -04:00
Will Daly
0500ba4dd5 Disabled pylint warnings for lettuce steps:
* Missing docstring
* Redefining name from outer scope
2013-03-26 11:46:31 -04:00
Will Daly
27d5ebf027 pep8 fixes 2013-03-26 11:44:57 -04:00
Will Daly
00d25b684c Moved modulestore flush code into terrain/course_helpers 2013-03-26 11:44:57 -04:00
Will Daly
4528490fac Refactored lms/coureware lettuce tests to use terrain helpers
for common ui manipulations
2013-03-26 11:44:56 -04:00
Will Daly
6dd86f7a97 Refactored courseware_common and open_ended to use ui helpers 2013-03-26 11:44:56 -04:00
Will Daly
5e69050a16 Elminated unused functions from courseware/features/courses.py
and moved the rest to common.py
2013-03-26 11:44:56 -04:00