Commit Graph

2257 Commits

Author SHA1 Message Date
Jay Zoldak
d88d86120e Merge pull request #3017 from edx/zoldak/bok-choy-version-upgrade
Update edx-platform page objects and tests
2014-03-22 08:32:48 -04:00
Jay Zoldak
bb8800d499 Disable intermittently failing ORA tests 2014-03-22 07:50:44 -04:00
Jay Zoldak
806a6b9f99 Update edx-platform page objects and tests to be compatible with new bok-choy version
Change expectedFailure decorators to skip, because that still takes
a screenshot as if it were an error and at least one of those
take a super long time when running locally on devstack.
2014-03-21 17:10:15 -04:00
Nimisha Asthagiri
e86b4a12dc Changes for viewing built-in tabs in studio
Changed "Status Page" -> "Page".

UX:
    support for displaying built-in tabs
    restored drag and drop on Studio Pages
    additional styling for fixed state on Studio Pages
    add a new page action added to bottom of Studio Pages

Dev
    changes for viewing tabs in studio,
    refactored the tab code,
    decoupled the code from django layer.
    is_hideable flag on tabs
    get_discussion method is needed to continue to support
external_discussion links for now since used by 6.00x course.
    override the __eq__ operator to support comparing with
dict-type tabs.

Test
    moved test code to common,
    added acceptance test for built-in pages
    added additional unit tests for tabs.
    changed test_split_modulestore test to support serializing objects
that are fields in a Course.

Env:
    updated environment configuration settings so they are
    consistent for both cms and lms.
2014-03-21 13:58:01 -04:00
Jay Zoldak
c5a7911b87 Fix pylint disable pragmas that were pep8 violations 2014-03-20 10:18:40 -04:00
Jay Zoldak
fecc5658a6 Return valid feedback from ORA stub
so that the logs will be much cleaner.
See test_root/log/bok_choy_lms.log
2014-03-12 12:40:10 -04:00
Greg Price
cc0d227928 Improve robustness of bok choy discussion tests
A test failed because an element disappeared between the evaluation of
the clauses of a conjunction, so rewrite to make the conjunction
unnecessary.
2014-03-11 16:44:52 -04:00
Andy Armstrong
2c9585ea5d Merge pull request #2811 from edx/andya/container-unit-tests
Add more tests for the container page
2014-03-07 11:31:41 -05:00
zubiar-arbi
c17cb38cd9 add location of handouts in loc_mapper
STUD-1248
2014-03-06 15:53:45 +05:00
Andy Armstrong
bc12869a00 Add more tests for the container page 2014-03-05 17:41:10 -05:00
Greg Price
1d2175dce0 Merge pull request #2774 from edx/gprice/edit-forum-comment-bok-choy
Add bok choy tests for forum comment editing
2014-03-03 15:37:05 -05:00
Greg Price
db8ad0d20b Add bok choy tests for forum comment editing 2014-03-03 14:26:25 -05:00
Jay Zoldak
82d48b5ab3 Import BrokenPromise 2014-03-03 10:16:04 -05:00
Dave St.Germain
fd59de346b Converted javascript confirmation dialog to jquery UI dialog (needs style) 2014-02-28 13:32:39 -05:00
Andy Armstrong
fcc0231d4d Add new container page that can display nested xblocks
This is the changes for STUD-1244, which introduces the ability for Studio to display
arbitrarily nested xblocks. In this change, a new container page is introduced which can
display nested xblocks. In particular, the xblock type of 'vertical' is special cased
to be shown inline as a collapsible section. The unit page is mostly unchanged, except
that container xblock's are shown as a link to their container page, rather than being
shown inline.
2014-02-27 14:53:05 -05:00
Dave St.Germain
da275eae11 Tweaks course update html to avoid using list tags inappropriately.
LMS-1724
2014-02-26 13:28:00 -05:00
jsa
bea463d950 Add acceptance tests for forums comment deletion.
JIRA: FOR-472
2014-02-26 10:31:02 -05:00
jsa
7be356b390 auto_auth: add ability to configure forum roles and scrape user id. 2014-02-26 10:30:55 -05:00
Calen Pennington
c72d410083 Remove doc-ready tests, which were flaky 2014-02-25 14:01:37 -05:00
Calen Pennington
ae34c3fe9f Mark xblock initialization status using css class (in part to make testing easier) 2014-02-25 14:01:37 -05:00
Calen Pennington
35fbc15edb Add tests of more scopes in student_view 2014-02-25 14:01:37 -05:00
Calen Pennington
9126777ed7 Add test of local_resource_url in AcidBlock 2014-02-25 14:01:37 -05:00
Calen Pennington
dbc99ef8ad Implement children for pure XBlocks in edx-platform
This requires fixing the javascript api implementation, and adding
an implementation of get_block to the ModuleSystem api.

However, the implementation is incomplete, due to mismatches between
the expectations of XModule and XBlock.

Also adds tests using the Acid block to make sure that the javascript
and python apis for children are working correctly.
2014-02-21 15:01:20 -05:00
Calen Pennington
3093efc889 Make bok-choy correctly publish units with children 2014-02-21 15:00:32 -05:00
Will Daly
defbd87468 Protect Acid XBlock test from stale element or zero-length locator list 2014-02-20 16:19:43 -05:00
Julia Hansbrough
8fbeeeeb02 Disable flakey language change acceptance tests 2014-02-18 21:16:43 +00:00
Adam
7b3376f944 Merge pull request #2575 from edx/adam/i18n-self-assessment-2
Adam/i18n self assessment 2
2014-02-18 09:07:24 -05:00
thedeadparrot
ff0a6fb778 Update cms urls for language preferences 2014-02-14 22:35:14 +00:00
Julia Hansbrough
05537540d1 Fix acceptance tests
Fixed bok-choy acceptance tests
2014-02-14 22:35:14 +00:00
thedeadparrot
b61649f9eb Refactor out new lang_pref djangoapp 2014-02-14 22:35:14 +00:00
Julia Hansbrough
efe7bdacfc Fixed broken acceptance tests 2014-02-14 22:35:13 +00:00
thedeadparrot
48686793d7 Clean up tests. 2014-02-14 22:35:12 +00:00
Julia Hansbrough
77cce3aa1a Added acceptance test for language persistence
Will pass once the language persistence stuff gets merged in
2014-02-14 22:34:46 +00:00
Adam Palay
97f5b25e2c i18n for self-assessment (ORA-314)
make openendedchild and open_ended_module_v1 act enough like xblocks to get xblock 18n
2014-02-14 17:27:32 -05:00
Julia Hansbrough
d867e87b72 Acceptance test for language selector
Tests language selection feature for student dashboard
2014-02-14 10:32:11 -05:00
Julia Hansbrough
cb6b52f890 wiring for language selector 2014-02-14 10:32:10 -05:00
Julia Hansbrough
5131818153 Merge pull request #2597 from edx/release
Release
2014-02-13 15:17:38 -05:00
Calen Pennington
6125d97301 Add acceptance tests using the AcidBlock for LMS and Studio
[LMS-1645]
[LMS-2062]
[LMS-2063]
[LMS-2064]
2014-02-13 13:22:10 -05:00
Calen Pennington
3a7b265c8a Add trailing commas to multiline lists, to prevent string concatenation bugs 2014-02-13 13:12:42 -05:00
Will Daly
8880faedbd Merge pull request #2558 from edx/will/more-robust-ora-page
Ora page object retries even if rubric doesn't load
2014-02-11 10:01:05 -05:00
Will Daly
4a9202bd1c Ora page object retries even if rubric doesn't load 2014-02-10 23:36:13 -05:00
Will Daly
b56e8e2fff Change name of bok-choy XML coverage report to avoid combining it with the unit test reports 2014-02-10 08:58:55 -05:00
Greg Price
8e3a77fa1e Add acceptance tests for forum response pagination 2014-02-06 17:52:14 -05:00
Greg Price
02a233b7e2 Rename URL_PATH to url_path in acceptance code
It's not a constant, and some subclasses will want to make it a
function with @property.
2014-02-06 12:02:48 -05:00
Will Daly
28c33a4f84 Skip page check in promise for Tab Nav in bok-choy suite 2014-02-06 09:31:21 -05:00
Will Daly
0a9b4ada86 Added stub XQueue server to bok_choy test suite.
Added feedback check for AI-assessment test
Added peer assessment feedback test
Added tests for peer grading module
Added stub peer grading module service
Updated Studio/LMS page objects and tests to use bok-choy v0.1.0
Added LMS bok-choy tests from e2e repo
Add bok-choy tests for peer grading module, including calibration.
2014-02-05 14:50:15 -05:00
Will Daly
274824bf55 Updated bok-choy tests for a11y css selector changes
Disable broken video test
2014-02-05 12:45:52 -05: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
cb4f92acdf Make tab nav page object more robust 2014-02-05 08:54:43 -05:00
Will Daly
079f3aa5f4 Updated bok choy page objects setup.py
Fix bug in url method of register page object
Add dist directories to gitignore
2014-02-04 14:32:42 -05:00