Commit 2cec246e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '821-frontend-test' into 'devel_13.1.x'

Resolve "Job Failed #58888"

See merge request !793
parents 035eae94 eca47d9f
......@@ -148,8 +148,9 @@ describe('EditUserDialog', function () {
dialog = createEditUserDialog(project, user);
return dialog.init();
}).then(function () {
$("[name=privilege-int]", dialog.getElement()).val("101010");
$("[name=privilege-int]", dialog.getElement()).trigger("change");
var element = $("[name=privilege-int]", dialog.getElement())[0];
$(element).val("101010");
return helper.triggerJqueryEvent(element, "change");
}).then(function () {
expect(serializedPrivileges).not.to.deep.equal(user.privilegesToExport(helper.getConfiguration()));
dialog.destroy();
......
......@@ -41,7 +41,7 @@ logger.getErrors = function () {
var buffer = inMemoryAppender.buffer.default;
for (var i = 0; i < buffer.length; i++) {
var message = buffer[i];
if (message.indexOf("'ERROR'") !== -1) {
if (message.indexOf("ERROR") !== -1) {
result.push(message);
}
}
......@@ -52,7 +52,7 @@ logger.getWarnings = function () {
var buffer = inMemoryAppender.buffer.default;
for (var i = 0; i < buffer.length; i++) {
var message = buffer[i];
if (message.indexOf("'WARN'") !== -1) {
if (message.indexOf("WARN") !== -1) {
result.push(message);
}
}
......
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