[Webkit-unassigned] [Bug 213961] New: [WebDriver][Py3] Two imported selenium tests are raising UnicodeEncodeError with non-ascii chars

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 4 09:39:10 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213961

            Bug ID: 213961
           Summary: [WebDriver][Py3] Two imported selenium tests are
                    raising UnicodeEncodeError with non-ascii chars
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com

Both tests fail with a similar backtrace.

  imported/selenium/py/test/selenium/webdriver/common/typing_tests.py::testNumberpadAndFunctionKeys[WebKitGTK]


    def testNumberpadAndFunctionKeys(driver, pages):
        pages.load("javascriptPage.html")
        element = driver.find_element(by=By.ID, value="keyReporter")
        element.send_keys(
            "abcd{}{}{}{}{}{}{}{}{}{}{}{}abcd"
            .format(
                Keys.MULTIPLY, Keys.SUBTRACT, Keys.ADD, Keys.DECIMAL, Keys.SEPARATOR,
                Keys.NUMPAD0, Keys.NUMPAD9, Keys.ADD, Keys.SEMICOLON, Keys.EQUALS, Keys.DIVIDE,
>               Keys.NUMPAD3
            )
        )
E       UnicodeEncodeError: 'ascii' codec can't encode character u'\ue024' in position 0: ordinal not in range(128)


  imported/selenium/py/test/selenium/webdriver/common/typing_tests.py::testArrowKeysAndPageUpAndDown[WebKitGTK]

    def testNumberpadAndFunctionKeys(driver, pages):
        pages.load("javascriptPage.html")
        element = driver.find_element(by=By.ID, value="keyReporter")
        element.send_keys(
            "abcd{}{}{}{}{}{}{}{}{}{}{}{}abcd"
            .format(
                Keys.MULTIPLY, Keys.SUBTRACT, Keys.ADD, Keys.DECIMAL, Keys.SEPARATOR,
                Keys.NUMPAD0, Keys.NUMPAD9, Keys.ADD, Keys.SEMICOLON, Keys.EQUALS, Keys.DIVIDE,
>               Keys.NUMPAD3
            )
        )
E       UnicodeEncodeError: 'ascii' codec can't encode character u'\ue024' in position 0: ordinal not in range(128)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200704/cc9ccf66/attachment.htm>


More information about the webkit-unassigned mailing list