Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

UTF-8 test names #122

Open
jendagroovy opened this issue Jul 18, 2017 · 0 comments
Open

UTF-8 test names #122

jendagroovy opened this issue Jul 18, 2017 · 0 comments

Comments

@jendagroovy
Copy link

Hi,

I think there is a problem with using international characters in browserstack session names:

Capabilities:

        chrome_bs: {
            base: 'BrowserStack',
            name: "[karma] S20P2 ČNS test 59",
            'browser_version': "59",
            'browser': "chrome",
            'os_version': "7",
            'os': "Windows"
        }

Output:

18 07 2017 10:54:21.746:INFO [reporter.testlab]: run:start
18 07 2017 10:54:22.408:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:3002/
18 07 2017 10:54:22.409:INFO [launcher]: Launching browser chrome_bs with unlimited concurrency
18 07 2017 10:54:22.429:INFO [launcher]: Starting browser chrome 59 (Windows 7) on BrowserStack
18 07 2017 10:54:22.886:ERROR [launcher.browserstack]: Can not start chrome 59 (Windows 7)
Error
18 07 2017 10:54:22.887:INFO [reporter.testlab]: run:complete
18 07 2017 10:54:22.888:INFO [reporter.testlab]: exit

All works when removing the international character.

The problem does not occur, when using BrowserStack API directly:

$ curl -u "x:y" https://api.browserstack.com/4/worker -H "Content-Type: application/json" -X POST --data '{"os": "windows", "os_version": 7, "browser": "chrome", "browser_version": "59", "url": "http://xxx", "name": "ČNS test"}'`
{"id":78140297,"url":"http://xxx"}

It would be nice, if this either worked, or there was at least appropriate message that would warn the user of such problems. This has taken us few days to debug. International characters can get into the name, when we let the developers of our projects (who use our CI) name their tests

Thank you,
Jan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant