jitsi/jitsi-meet-torture

test fails because language is not english.

Closed this issue · 3 comments

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.

Yep, that's correct. Since English is the canonical language (the others are just translations) this is by design.

We can force selenium to use English instead of the system language.

If you can make a PR that would be a welcome addition!