Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d3754af2
Commit
d3754af2
authored
Aug 28, 2015
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip flaky JS test TNL-3166
parent
b37ddc7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
cms/static/js/spec/views/pages/library_users_spec.js
+4
-3
No files found.
cms/static/js/spec/views/pages/library_users_spec.js
View file @
d3754af2
...
...
@@ -87,7 +87,8 @@ function ($, AjaxHelpers, ViewHelpers, ManageUsersFactory, ViewUtils) {
expect
(
requests
.
length
).
toEqual
(
0
);
});
it
(
"displays an error when the user has already been added"
,
function
()
{
// TODO: This test has become flaky. See TNL-3166
xit
(
"displays an error when the user has already been added"
,
function
()
{
var
requests
=
AjaxHelpers
.
requests
(
this
);
$
(
'.create-user-button'
).
click
();
$
(
'.user-email-input'
).
val
(
'honor@example.com'
);
...
...
@@ -99,8 +100,8 @@ function ($, AjaxHelpers, ViewHelpers, ManageUsersFactory, ViewUtils) {
expect
(
requests
.
length
).
toEqual
(
0
);
});
it
(
"can remove a user's permission to access the library"
,
function
()
{
// TODO: This test has become flaky. See TNL-3166
x
it
(
"can remove a user's permission to access the library"
,
function
()
{
var
requests
=
AjaxHelpers
.
requests
(
this
);
var
reloadSpy
=
spyOn
(
ViewUtils
,
'reload'
);
var
email
=
"honor@example.com"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment