test fails because language is not english.
Closed this issue · 3 comments
vipcxj commented
It seems that the test is based on english, the element selecter is based on the language-spec selecter, so lot's of test fails because of unable to find the element.
for example $("*[aria-label='Toggle mute audio']")
will find nothing, but $("*[aria-label='静音 / 取消静音']")
will find the correct element on my computer.
saghul commented
Yep, that's correct. Since English is the canonical language (the others are just translations) this is by design.
vipcxj commented
We can force selenium to use English instead of the system language.
saghul commented
If you can make a PR that would be a welcome addition!