muhammad-ammar
c3b6b10478
Problem (capa) feedback UX revamp.
...
TNL-4877
2016-10-06 17:34:43 -04:00
Dmitry Viskov
61127b613b
Make it impossible to click "final check" without selecting a choice
2016-04-21 00:15:20 +03:00
Sarina Canelake
8283c07e32
Remove superfluous-parens pylint violations
...
Skipped 'print' statement violations, as print() is Py3k syntax.
2015-07-13 17:33:28 -04:00
Ben Patterson
e54ce29587
Fix flaky lettuce test. TE-572.
...
This should be ported to bok-choy, but until then we should fix the flakiness in
this test. It needs to wait for the page to change after the user clicks 'reset'.
2015-06-09 09:37:36 -04:00
Ahsan Ulhaq
a715bd7053
Standrize buttons in assessment problems
...
Assessment problems was having input type="button" which cause accessibility issues.
changed them to <button> and added span with class sr.
TNL-1693
2015-03-13 21:09:04 +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
Jim
6d19a0c87c
Support and tests for adding a reset button to units
...
Users may want to start anew when answering a question. This commit decouples reset from randomization while still preserving backward compatibility. Users can clear their input.
Instructors can set course-wide and problem-specific settings for reset button display.
2014-10-23 12:14:27 -07:00
Don Mitchell
edffa73512
Convert acceptance to opaque keys
2014-10-03 10:55:58 -04:00
Dave St.Germain
a6797899da
Removed inappropriate section tags. Because screen readers announce each section, they should not be used unless they are actually defining meaningful sections.
2014-02-05 11:32:08 -05:00
Will Daly
b73c6f63fc
Added stub XQueue server to bok_choy test suite.
...
Added feedback check for AI-assessment test
Added peer assessment feedback test
2014-01-28 14:57:28 -05:00
Calen Pennington
3bb67a8b0e
Merge pull request #1996 from cpennington/conditional-module-acceptance-tests
...
Add acceptance tests of the conditional module
2013-12-20 11:01:07 -08:00
Calen Pennington
a0b8577ac3
Merge pull request #1988 from cpennington/annotation-module-acceptance-tests
...
Add acceptance tests of Annotatable module
2013-12-20 11:00:41 -08:00
Calen Pennington
a9a8dcf882
Allow acceptance test problem functions to work without hardcoded course name
2013-12-20 12:32:15 -05:00
Calen Pennington
7f76517ea3
Cleanup courseware acceptance tests
2013-12-20 09:29:23 -05:00
Will Daly
0fd03cfb02
Moved stub servers to terrain
...
Refactored stub services for style and DRY
Added unit tests for stub implementations
Updated acceptance tests that depend on stubs.
Updated Studio acceptance tests to use YouTube stub server; fixed failing tests in devstack.
2013-12-19 09:12:41 -05:00
Will Daly
9ab35759be
Added wait for problem to re-render when checking or resetting it
...
Added wait for JS on upload page
Fixed an issue where css_click wasn't waiting for JS to load
2013-11-01 14:31:37 -04:00
Jay Zoldak
45f87b30c0
Improve problems acceptance tests. Disable brittle video test.
2013-10-23 13:53:11 -04:00
Jay Zoldak
2ff056df8c
Simplify retry logic for ui helper functions
2013-09-16 16:49:17 -04:00
Peter Baratta
fe47dcb122
Acceptance tests for visual correctness reset feature
2013-08-30 17:24:33 -04:00
Jay Zoldak
c8949b99d1
Disable pylint violation E0611 when importing assert_* methods from nose.tools
...
Cleaned up files with muliline imports
Cleaned up files that do not use these imports
Misread comment
2013-08-27 16:21:33 -04:00
Renzo Lucioni
1fc4ac864e
Add feature showing current score next to problem title
2013-07-19 16:14:24 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
JonahStanley
484e217de3
Fixed some errors
2013-07-12 10:32:48 -04:00
JonahStanley
1f1bba5507
Scenario Dictionary now holds objects
2013-07-12 10:32:48 -04:00
JonahStanley
35094a968b
Beginnings of refactoring the acceptance tests
2013-07-12 10:32:45 -04:00
JonahStanley
f1dd81a67a
Refactored LMS so all potential stale element exceptions are avoided
2013-07-12 09:28:49 -04:00
Don Mitchell
8b23eeca7e
Minor pylint/whitespace changes
2013-06-25 22:34:29 -04:00
JonahStanley
b847930579
Changed a click to css_click and fixed earlier typo
2013-06-21 09:38:43 -04:00
JonahStanley
033b974047
Fixed flakey show answer test
2013-06-20 10:54:43 -04:00
Don Mitchell
1ff022e181
Incidental pep8 changes
2013-06-18 17:25:06 -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
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
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
JonahStanley
62b74008e6
Added tests for Limited Attempt Problems and Showing the Answer
2013-05-30 14:22:37 -04:00
Will Daly
b42c4dacf7
Added test for "radio" choicegroup
2013-04-17 15:32:39 -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
4528490fac
Refactored lms/coureware lettuce tests to use terrain helpers
...
for common ui manipulations
2013-03-26 11:44:56 -04:00
Will Daly
37e7d68cef
pep8 and pylint fixes
2013-03-25 16:46:31 -04:00
Will Daly
c660229b25
Added checking for problem answer state after a problem is checked
2013-03-25 16:37:59 -04:00
Will Daly
6728f16ae4
Merge branch 'feature/zoldak/refactor-factories' into feature/will/speed_up_lettuce_tests
...
Conflicts:
lms/djangoapps/courseware/features/problems.py
2013-03-21 10:49:04 -04:00
Will Daly
2fc96d5fb7
Fixed a merge issue about code response
2013-03-20 17:18:26 -04:00
Will Daly
7a282a9c54
Edited comments, ran pep8
2013-03-20 17:08:19 -04:00
Will Daly
911308cba2
Changed check for unanswered problems so that it now looks for
...
an "unanswered" div or span. This is much faster than
asserting that correct/incorrect is NOT present.
2013-03-20 17:08:19 -04:00
Jay Zoldak
23364d8b0f
Merge branch 'master' into feature/zoldak/refactor-factories
2013-03-20 13:36:01 -04:00
Jay Zoldak
6048bc2832
Pep8 fixes for factory refactor
2013-03-20 11:31:12 -04:00
Will Daly
5411fc765e
Refactored lettuce test of capa problems to use
...
world.css_click() helper instead of directly
calling splinter.
2013-03-20 11:27:28 -04:00
Jay Zoldak
3576a3154b
Repoint factory references in lettuce tests to world.
2013-03-20 09:38:52 -04:00