Hi, I have been having problems with comparing strings. Whether I use .eql() or .contains() I can't get the same string to be evaluated as true. My editor element is a contenteditable div.
I realized it's because the spaces in my string from element.textContent are different ascii characters. This is when I print the charCodeAt of the two strings.
I know this might not be testcafe related, but I can't find any resources on how to write tests and account for browsers changing space characters. How do you deal with this?