Commit d3754af2 by Jesse Zoldak

Skip flaky JS test TNL-3166

parent b37ddc7e
......@@ -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
xit("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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment