• 请问遇到过MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.这种错误吗

     item = Function 'test_login_success[Mate10]'
    def labels_of(item):
    # FIXME: utils should not depend on structure, actually
    from allure.structure import TestLabel

    def get_marker_that_starts_with(item, name):
    """ get a list of marker object from item node that starts with given
    name or empty list if the node doesn't have a marker that starts with
    that name."""

    suitable_names = filter(lambda x: x.startswith(name), item.keywords.keys())
    markers = list()
    for suitable_name in suitable_names
    markers.append(item.get_marker(suitable_name))

    return markers

    labels = []
    label_markers = get_marker_that_starts_with(item, Label.DEFAULT)
    for label_marker in label_markers:
    label_name = label_marker.name.split('.', 1)[-1]
    E RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
    E Please use node.get_closest_marker(name) or node.iter_markers(name).
    E Docs: https://docs.pytest.org/en/latest/mark.html#updating-code

    /Library/Python/2.7/site-packages/allure/utils.py:92: RemovedInPytest4Warning
  • 请问找到原因了吗?我在Mac执行也遇到了这个错误

  • atx的ios执行效率会比appium高吗?现在安装atx需要一些其他依赖。android执行时候需要使用atx吗

  • ios客户端有打算吗?会使用哪个测试套件呢?

  • Author only
  • 请问你的问题解决了吗,我这也遇到Keyboard is not present\" UserInfo={NSLocalizedDescription=Keyboard is not present。你怎么处理的

  • appium ios 端搭建问题 at October 16, 2017

    请问下你WDA启动后黑屏然后闪退的问题解决了吗?如何解决的

  • 你这个问题解决了吗?如何解决的呢

  • Macaca2.0 升级公告 at September 26, 2017

    请问下:
    The following build commands failed:
    Check dependencies
    (1 failure)

    xctest-client.js:179:14 [master] pid:3744 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/_xctestwd@1.1.8@xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctest-client.js:263:14 [master] pid:3744 killing deviceLogProc pid: 16725
    xctest-client.js:268:14 [master] pid:3744 killing runnerProc pid: 16726
    xctest-client.js:189:14 [master] pid:3744 xctest client exit with code: 65, signal: null
    xctest-client.js:150:16 [master] pid:3744 devicelog exit with code: null, signal: SIGKILL
    xctest-client.js:255:14 [master] pid:3744 Fail to start xctest: undefined
    responseHandler.js:56:12 [master] pid:3744 Send Error Respone to Client: undefined

    InternalServerError: Internal Server Error
    at Object.throw (/usr/local/lib/node_modules/macaca-cli/node_modules/_koa@1.1.2@koa/lib/context.js:91:23)
    at Object.module.exports (/usr/local/lib/node_modules/macaca-cli/node_modules/_webdriver-server@1.0.79@webdriver-server/lib/server/responseHandler.js:59:17)
    at throw (native)
    at onRejected (/usr/local/lib/node_modules/macaca-cli/node_modules/_co@4.6.0@co/index.js:81:24)
    at process._tickCallback (internal/process/next_tick.js:109:7)
    这个错误是什么原因

  • 连续提交这个点,的确容易被开发忽略