Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
55357f52
Unverified
Commit
55357f52
authored
5 years ago
by
Stu Young
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove flaky test (#21822)
parent
ead81288
No related branches found
Branches containing commit
Tags
release-2020-05-14-12.16
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/test/acceptance/tests/lms/test_library.py
+0
-42
0 additions, 42 deletions
common/test/acceptance/tests/lms/test_library.py
with
0 additions
and
42 deletions
common/test/acceptance/tests/lms/test_library.py
+
0
−
42
View file @
55357f52
...
...
@@ -282,45 +282,3 @@ class StudioLibraryContainerCapaFilterTest(LibraryContentTestBase, TestWithSearc
self
.
_auto_auth
(
self
.
USERNAME
,
self
.
EMAIL
,
False
)
self
.
_goto_library_block_page
()
return
self
.
library_content_page
.
children_headers
def
test_problem_type_selector
(
self
):
"""
Scenario: Ensure setting
"
Any Type
"
for Problem Type does not filter out Problems
Given I have a library with two
"
Select Option
"
and two
"
Choice Group
"
problems, and a course containing
LibraryContent XBlock configured to draw XBlocks from that library
When I set library content xblock Problem Type to
"
Any Type
"
and Count to 3 and publish unit
When I go to LMS courseware page for library content xblock as student
Then I can see 3 xblocks from the library of any type
When I set library content xblock Problem Type to
"
Choice Group
"
and Count to 1 and publish unit
When I go to LMS courseware page for library content xblock as student
Then I can see 1 xblock from the library of
"
Choice Group
"
type
When I set library content xblock Problem Type to
"
Select Option
"
and Count to 2 and publish unit
When I go to LMS courseware page for library content xblock as student
Then I can see 2 xblock from the library of
"
Select Option
"
type
When I set library content xblock Problem Type to
"
Matlab
"
and Count to 2 and publish unit
When I go to LMS courseware page for library content xblock as student
Then I can see 0 xblocks from the library
"""
children_headers
=
self
.
_set_library_content_settings
(
count
=
3
,
capa_type
=
"
Any Type
"
)
self
.
assertEqual
(
len
(
children_headers
),
3
)
self
.
assertLessEqual
(
children_headers
,
self
.
_problem_headers
)
# Choice group test
children_headers
=
self
.
_set_library_content_settings
(
count
=
1
,
capa_type
=
"
Multiple Choice
"
)
self
.
assertEqual
(
len
(
children_headers
),
1
)
self
.
assertLessEqual
(
children_headers
,
set
([
"
Problem Choice Group 1
"
,
"
Problem Choice Group 2
"
])
)
# Choice group test
children_headers
=
self
.
_set_library_content_settings
(
count
=
2
,
capa_type
=
"
Dropdown
"
)
self
.
assertEqual
(
len
(
children_headers
),
2
)
self
.
assertEqual
(
children_headers
,
set
([
"
Problem Select 1
"
,
"
Problem Select 2
"
])
)
# Missing problem type test
children_headers
=
self
.
_set_library_content_settings
(
count
=
2
,
capa_type
=
"
Custom Evaluated Script
"
)
self
.
assertEqual
(
children_headers
,
set
())
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment