Commit Graph

496 Commits

Author SHA1 Message Date
M. Zulqarnain
a664067323 refactor: pyupgrade in common/tests (#26725) 2021-03-09 18:03:34 +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
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
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
72a8278110 Remove advanced settings validation UI tests. 2020-02-27 18:26:24 -05:00
Feanil Patel
046feb0cf0 Merge pull request #22649 from edx/feanil/fix_pep8
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff Fix all E303 pep8 errors. 2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b Merge pull request #22643 from edx/feanil/2to3_asserts
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -05:00
Feanil Patel
9cf2f9f298 Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed.

https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Feanil Patel
70294b0ad2 Run 2to3 -f asserts . -w on edx-platform.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Jeremy Bowman
b2046f6674 Switch make upgrade to Python 3.5 (#22609)
* Switch make upgrade to Python 3.5

* bok-choy fixes, constrain django-debug-toolbar

* Remove flaky bok-choy test
2019-12-26 15:13:02 -05:00
Robert Raposa
2202545aec remove studio signin and signup pages
This completes the work started in https://github.com/edx/edx-platform/pull/19453
to use the LMS login and registration for Studio, rather than Studio
providing its own implementation.

LMS login/registration are being used for the following reasons:
1. LMS logistration properly handles all SSO integrations.
2. A single logistration is simpler to maintain and understand.
3. Allows Studio to work more like all other IDAs that use LMS
logistration.

The original switch to use LMS logistration for Studio also added the
toggle `DISABLE_STUDIO_SSO_OVER_LMS` to provide the community some
additional time for switching. This commit removes this toggle, which
at this point means all deployments will use the LMS logistration.

This change requires sharing cookies across LMS and Studio. Should that
prove to be a problem for certain Open edX instances, there are
discussions of possible alternative solutions.
See https://github.com/edx/edx-platform/pull/19845#issuecomment-559154256

Detailed changes:
* Fix some Studio links that still went to old Studio signin and signup.
* Remove DISABLE_STUDIO_SSO_OVER_LMS feature toggle.
* Remove old studio signin and signup pages and templates.
* Fix url name "login", which had different meanings for Studio and LMS.
* Use the following settings: LOGIN_URL, FRONTEND_LOGIN_URL,
FRONTEND_LOGOUT_URL, and FRONTEND_REGISTER_URL.
* Redirect /signin and /signup to the LMS logistration.
* Add custom metric `uses_pattern_library`.
* Add custom metric `student_activate_account`.
* Add Django Settings to allow /signin, /signup, and /login_post to be
disabled once ready.

This work also relates to ARCH-218 and DEPR-6.

ARCH-1253
2019-12-04 02:36:36 -05:00
Dave St.Germain
3e73ba3879 TNL-6929:
Improves navigation within Studio for Learning Sequences, speeding up authors who want to see how a learner progresses through content without needing to jump over to the LMS.

This adds a dropdown section navigator to the breadcrumbs on the unit page and copies the sequence navigator from LMS to the studio unit page.
2019-11-07 09:13:00 -05:00
Awais Jibran
222c74e855 JavaScript Error when inserting second image in Studio 2019-10-30 12:21:40 +05:00
Jeremy Bowman
23870802c6 Replace usage of UUID.get_hex() - BOM-672 2019-09-19 10:32:23 -04:00
Ayub khan
8a95a8e520 BOM-95
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Bill DeRusha
aebdf77f8e Revert "PROD-145: Added validation to discussion topic input in studio, testing 2" 2019-08-20 20:31:15 -04:00
Manjinder Singh
65b858e3e7 Merge pull request #21209 from edx/msingh/discussion_topic_validation2
PROD-145: Added validation to discussion topic input in studio, testing 2
2019-08-15 19:53:17 -04:00
jinder1s
e7fb13a74f Added validation to discussion topic input in studio 2019-08-15 16:13:37 -04:00
Usman Khalid
8dfc8e5fda Convert AboutModule, CourseInfoModule, HtmlModule and StaticTabModule to XBlocks. 2019-07-24 20:19:44 +05:00
Ayub khan
9fb5c146e8 -python 3 compatibility 2019-07-08 20:02:10 +05:00
Jeremy Bowman
64e7c46cf5 Remove flaky tab reordering test (#20629) 2019-05-22 15:52:58 -04:00
Jeremy Bowman
0b48665ad2 Fix flaky tab reordering test (#20555) 2019-05-14 16:10:46 -04:00
Stuart Young
c89a0007eb remove flaky studio grading test 2019-04-30 13:20:06 -04:00
Michael Youngstrom
a87273ec01 Upgrade axe-core and ignore newly introduced failures 2019-04-17 12:18:32 -04:00
Ned Batchelder
561f0752ca Skip tests of help doc links on named release branches.
@skip_unless_master is used to skip tests because on named release
branches, most work happens leading up to the first release on the
branch, and that is before the docs have been published.  Tests that
check readthedocs for the right doc page will fail during this time, and
it's just a big distraction.  Also, if we bork the docs, it's not the
end of the world, and we can fix it easily, so this is a good tradeoff.
2019-03-14 14:01:30 -04:00
zrana
c43b14a0ff Merge pull request #19896 from edx/zeeshan/remove_flaky_studio_settings_test
Remove flaky studio settings test
2019-03-07 19:20:31 +05:00
Cali Stenson
362403bf7a Delete flaky bokchoy tests.
EDUCATOR-4164, EDUCATOR-4165, EDUCATOR-4166
2019-03-06 14:20:18 -05:00
zrana
459d2f74a1 remove flaky studio advance settings test 2019-02-28 16:14:16 +05:00
cclauss
44d62fac75 Fix explicit tuple parameters for Python 3 2019-02-19 12:37:34 +01:00
Jeremy Bowman
b046ce89b4 More reliable container publish in bok-choy tests 2019-02-12 14:10:54 -05:00
stv
e7733faa1a Fix tests: Show Answer, Number of Attempts 2019-02-08 12:33:45 -08:00
Matthew Piatetsky
9681ca36b8 fix unicode strings in common/ 2019-02-05 10:57:00 -05:00
Michael Youngstrom
0f3d0b69d6 Rebalance bokchoy sharding 2019-01-30 14:16:58 -05:00
Agha Awais
49cd4202df Merge pull request #19594 from edx/awais/lett_2_bc_html_editor_II
Remaining bokchoy tests for HTML editor(II)
2019-01-25 11:31:16 +05:00
Agha Awais
840ff1751a Remaining bokchoy tests for HTML editor(II) 2019-01-24 20:38:34 +00:00
Agha Awais
c5caa17a54 Remaining bokchoy tests for pages 2019-01-15 08:16:51 +00:00