Diacritics in assertText


#1

Hello,
I try Kantu fo Chrome for the first time and probably fasing some bug.

I fill some form and on the next page testing by assertText if that printed text is correct. For some strings it works, but it seems not working with strings with diacritics characters (ěščřžýáíé).


[info]
Executing:  | assertText | //*[@id="edit-order-summary-summary"]/div/div[1]/table/tbody/tr[2]/td[2]/div/div | T-shirt | 
[info]
Executing:  | assertText | //*[@id="edit-order-summary-summary"]/div/div[2]/div/div/div[2]/span[2] | 2 Kč | 
[error]
text not matched, 
	expected: "2 Kč", 
	actual: "2 Kč"
[info]
Macro failed (Runtime 19.62s)

String in macro is copied from a site, so it really is exactly the same (no difference in whitespace, etc.).


#2

I tested assertText with Czech and Chinese, and all works fine for me. For example this macro works fine:

{
  "CreationDate": "2018-7-2",
  "Commands": [
    {
      "Command": "open",
      "Target": "http://www.pravo.cz/",
      "Value": ""
    },
    {
      "Command": "click",
      "Target": "//*[@id=\"container-header\"]/div[2]/span",
      "Value": ""
    },
    {
      "Command": "assertText",
      "Target": "//*[@id=\"container-header\"]/div[2]/span",
      "Value": "Pouze přehled informací. Plné znění textů v papírovém vydání novin."
    }
  ]
}

Disclaimer: I have no idea what this website does or is, I just found it via google search :wink:

So it seems to a site specific issue. Can you send us a link to a website where it does not work?