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
0f92b092
Commit
0f92b092
authored
Feb 10, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6940 from open-craft/flaky-lib-users-tests
Disabled flaky JS tests pending refactor to Backbone
parents
c7c3e440
2982ecd4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
cms/static/js/spec/views/pages/library_users_spec.js
+5
-3
No files found.
cms/static/js/spec/views/pages/library_users_spec.js
View file @
0f92b092
...
...
@@ -39,7 +39,9 @@ function ($, AjaxHelpers, ViewHelpers, ManageUsersFactory, ViewUtils) {
expect
(
$
(
'.wrapper-create-user'
)).
not
.
toHaveClass
(
'is-shown'
);
});
it
(
"displays an error when the required field is blank"
,
function
()
{
// Disabled flaky test - the following three disabled by bradenmacdonald on 2015-02-09
// These tests are expected to be removed or rewritten as part of SOL-194
xit
(
"displays an error when the required field is blank"
,
function
()
{
var
requests
=
AjaxHelpers
.
requests
(
this
);
$
(
'.create-user-button'
).
click
();
$
(
'.user-email-input'
).
val
(
''
);
...
...
@@ -51,7 +53,7 @@ function ($, AjaxHelpers, ViewHelpers, ManageUsersFactory, ViewUtils) {
expect
(
requests
.
length
).
toEqual
(
0
);
});
it
(
"displays an error when the user has already been added"
,
function
()
{
x
it
(
"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'
);
...
...
@@ -64,7 +66,7 @@ function ($, AjaxHelpers, ViewHelpers, ManageUsersFactory, ViewUtils) {
});
it
(
"can remove a user's permission to access the library"
,
function
()
{
x
it
(
"can remove a user's permission to access the library"
,
function
()
{
var
requests
=
AjaxHelpers
.
requests
(
this
);
var
reloadSpy
=
spyOn
(
ViewUtils
,
'reload'
);
$
(
'.user-item[data-email="honor@example.com"] .action-delete .delete'
).
click
();
...
...
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