Skip to content
Snippets Groups Projects
Verified Commit daf3cd72 authored by Dave Long's avatar Dave Long
Browse files

Issue #3503556 by tom konda: Wrong Regular Expression for string comparison in...

Issue #3503556 by tom konda: Wrong Regular Expression for string comparison in Nightwatch.js assertion
parent 78bebf2b
No related branches found
Tags 11-137198
2 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!10223132456: Fix issue where views instances are emptied before an ajax request is complete
Checking pipeline status
...@@ -7,7 +7,7 @@ module.exports.assertion = function (expected) { ...@@ -7,7 +7,7 @@ module.exports.assertion = function (expected) {
const deprecationMessages = const deprecationMessages =
sessionStorageEntries !== null sessionStorageEntries !== null
? sessionStorageEntries.filter((message) => ? sessionStorageEntries.filter((message) =>
new RegExp('[Deprecation]').test(message), message.includes('[Deprecation]'),
) )
: []; : [];
......
...@@ -7,7 +7,7 @@ module.exports.assertion = function () { ...@@ -7,7 +7,7 @@ module.exports.assertion = function () {
const deprecationMessages = const deprecationMessages =
sessionStorageEntries !== null sessionStorageEntries !== null
? sessionStorageEntries.filter((message) => ? sessionStorageEntries.filter((message) =>
new RegExp('[Deprecation]').test(message), message.includes('[Deprecation]'),
) )
: []; : [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment