Commit Graph

2264 Commits

Author SHA1 Message Date
Usama Sadiq
023f4144ab fix: fix new pylint warnings (#28725) 2021-09-23 17:54:15 +05:00
DawoudSheraz
e986d360c9 refactor: move course location util to common djangoapp instead of xmodule 2021-09-03 12:40:28 +05:00
Michael Terry
c62626227a fix: jump_to should redirect to first unit on invalid key
Previously, it would 404. While accurate, it's not a great user
experience. Users can be offered invalid jump_to paths in the normal
course of things, if course content disappears or they lose access
to it.

In both cases, they might be offered a resume URL in the courseware
that would be to a now-invalid location.

With this change, that invalid link will at least give them
*something* (the first unit in the course) rather than an error
page.

This also (unrelatedly) fixes an exception when the learning MFE
outline page tries to render a course that contains sequences
with no children.

AA-867
2021-06-28 15:43:12 -04:00
Sofia Yoon
e645d11bba feat: AA-797 switch course home flag to opt out by replacing it with a course home use legacy frontend flag 2021-06-16 10:04:49 -04:00
Julia Eskew
14ec30e018 feat: Make the new courseware MFE the default courseware experience.
- Remove the REDIRECT_TO_COURSEWARE_MICROFRONTEND waffle flag.
- Add a new COURSEWARE_USE_LEGACY_FRONTEND waffle flag that directs
all learners to the legacy courseware experience.
- Skip two failing a11y tests which fail due to the new default of
the courseware MFE.

TNL-8279
2021-06-10 12:21:24 -04:00
Usama Sadiq
4f4be6538a BOM-2477: pylint warnings lint-amnesty (#27585) 2021-05-11 17:22:40 +05:00
Usama Sadiq
e7b8328620 BOM-2494: pyupgrade second iteration-IX (#27449) 2021-05-10 13:45:29 +05:00
M. Zulqarnain
a664067323 refactor: pyupgrade in common/tests (#26725) 2021-03-09 18:03:34 +05:00
Jawayria
3296619b7b Merge pull request #26534 from edx/jawayria/bom-2351-7
BOM-2351: Removed unused imports from common/test
2021-02-26 16:19:37 +05:00
usamasadiq
96f0915b0f Fixed new pylint warnings.
use generator in any/all()
disable not-callable warnings
disable no-member warnings
Suppressed smaller pylint warnings
Pin edx-proctoring==3.5.0
2021-02-22 16:36:53 +05:00
Aarif
874436b720 replaced unittest assertions pytest assertions (#26539) 2021-02-18 19:13:12 +05:00
Jawayria
62ca4742c1 BOM-2351: Removed unused imports from common/test 2021-02-15 19:30:40 +05:00
Jawayria
9e677960bf Applied pylint-amnesty to common/{lib, test, __init__.py} 2021-02-02 15:42:02 +05:00
zia.fazal@arbisoft.com
3d65110383 Removed boy choy acceptance tests
Removed commented code

Fixed broken tests and quality violations

instructor dashboard test fixes

Fixed pep8 quality violation

Removed few remaining non a11y tests

Fixed quality violations

removed edxapp_acceptance setup file
2020-07-13 19:25:57 +05:00
Jeremy Bowman
a36332858d Remove bok-choy shoppingcart tests DEPR-43 (#24182)
Removed the FakePaymentPage page object which used shoppingcart app functionality, as well as everything that depended on it. I checked the e2e test repo also, and it doesn't seem to need any of the removed code.
2020-06-10 14:13:40 -04:00
Aarif
98af9ce418 remove useless-supression warnings 2020-05-01 19:42:15 +05:00
Aarif
6ee2089077 fixed warnings for wrong-import-order 2020-04-08 23:43:06 +05:00
Feanil Patel
6367962846 Get rid of 2 flaky a11y tests. 2020-03-24 16:27:32 -04:00
Jansen Kantor
21c6d6b08d EDUCATOR-4952: Allow Users to join one team per open teamset (#23423)
*allow users to join one team per teamset
2020-03-19 13:56:35 -04:00
Feanil Patel
8114fa09f8 Update shard assignments for bokchoy. (#23300) 2020-03-04 15:06:54 -05:00
Feanil Patel
440ef56f10 Feanil/delete flaky bokchoy tests (#23287)
* Delete flaky test.

* Remove flaky instructor dashboard help test.

* Remove flaky problem type tests.

* Remove flaky studio container tests.

* Remove flaky studio container tests.

* Remove flaky studio problem editor tests.

* Remove flaky enrollment track mode tests.

* Delete flaky video transcript tests.

* Fix pep8 issue.
2020-03-03 16:09:49 -05:00
Feanil Patel
088a3685a0 Remove pages for test removed as a part of bokchoy cleanup. 2020-03-02 11:03:00 -05:00
Feanil Patel
a7219e8eaa Use vulture to find unused bokchoy page objects.
These were all un-used on master.
2020-03-02 11:02:59 -05:00
Feanil Patel
fa87430cf6 Remove the crowdsource_hinter tests and the xblock director along with it. 2020-02-27 18:26:24 -05:00
Feanil Patel
44bcf4e87e Remove low value video license test. 2020-02-27 18:26:24 -05:00
Feanil Patel
f561076225 Remove low value video handout ui tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
0d9ab59c6c Remove video bumper tests.
Video Bumper feature is not valuable enough to keep UI tests for.
2020-02-27 18:26:24 -05:00
Feanil Patel
15503b6628 Remove low value annotation test. 2020-02-27 18:26:24 -05:00
Feanil Patel
da68d62628 Re-balance shards to make sure all shards have tests on them. 2020-02-27 18:26:24 -05:00
Feanil Patel
05bb662c52 Remove the low value Studio textbook tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
d9a76e2986 Remove studio tabs UI tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
add4054a90 Remove test related to the AB feature.
This feature has been un-used for years and doesn't merit having
expensive UI tests.
2020-02-27 18:26:24 -05:00
Feanil Patel
bd2b9b836b Remove low value content license UI tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
48d756a215 We don't use this UI as much.
Reruns are created by the API and we don't care about the UI as much.
2020-02-27 18:26:24 -05:00
Feanil Patel
5f4f819609 Library feature is low usage we don't need this many tests for it.
Test the crucial UI features only.
2020-02-27 18:26:24 -05:00
Feanil Patel
d6d5568afe Remove studio help related UI tests.
This feature is not valuable enough to warrant an expensive UI test.
2020-02-27 18:26:24 -05:00
Feanil Patel
91b0e0c9cd Don't UI test studio course team page. 2020-02-27 18:26:24 -05:00
Feanil Patel
9af226f0ef Low value studio test that is slow. 2020-02-27 18:26:24 -05:00
Feanil Patel
0e585e4c35 Delete studio create course UI tests.
We don't use this UI for creating courses anymore.  This is done
via publisher.  So while the underlying APIs need to work. The UI
is not as valuable to test.
2020-02-27 18:26:24 -05:00
Feanil Patel
4bed74d2aa Delete this set of tests because we don't think these UI tests are valuable. 2020-02-27 18:26:24 -05:00
Feanil Patel
f49c35efee Remove ImageProblem related tests. This is a low value xblock. 2020-02-27 18:26:24 -05:00
Feanil Patel
4ba2624228 Remove low value bokchoy tests.
These tests are not worth the amout of time we're spending on them
because the things they are testing are not high value.
2020-02-27 18:26:24 -05:00
Feanil Patel
049cdd6750 Remove the staff debug tests.
Not critical enough to keep as a part of bokchoy.
2020-02-27 18:26:24 -05:00
Feanil Patel
f1c24bf5ae Remove BatchBetaTesters and EntranceExamGrade related UI tests.
The batch feature is unlikely to change and hits a tested backend API.
The EntranceExam is not a sufficiently highly used test to warrante the
expense of UI tests.
2020-02-27 18:26:24 -05:00
Feanil Patel
49cdad8b23 Remove notes tests.
This feature is not sufficiently important to warrant expensive UI tests.
2020-02-27 18:26:24 -05:00
Feanil Patel
72a8278110 Remove advanced settings validation UI tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
68ef0b7132 Remove wordcloud related tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
3e66813e42 Remove tests for the learner profile page we no longer use in production. 2020-02-27 18:26:24 -05:00
Feanil Patel
98012dd9cf Remove lms dashboard search tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
f0fd995cdc Remove lms conditional tests.
These tests are very slow(10-40 seconds per test) and so don't provide
enough value to be worth that much cost.
2020-02-27 18:26:24 -05:00