1 Tests that appropriate language track is loaded, according to user preferences.
5 ** Caption button should be visible and enabled.
6 EXPECTED (captionsButtonCoordinates[0] > '0') OK
7 EXPECTED (captionsButtonCoordinates[1] > '0') OK
8 EXPECTED (captionsButtonElement.disabled == 'false') OK
10 ** The captions track should be listed in textTracks, but disabled. **
11 EXPECTED (video.textTracks.length == '2') OK
12 EXPECTED (video.textTracks[0].mode == 'disabled') OK
13 EXPECTED (video.textTracks[1].mode == 'disabled') OK
15 ** Set the user language preference so that the track will be chosen when the CC button is clicked. **
16 RUN(internals.setUserPreferredLanguages(['ar']))
17 *** Click the CC button.