【问题标题】:Allure steps descriptions cut in the report报告中删减的引诱步骤描述
【发布时间】:2017-03-10 16:08:28
【问题描述】:

我正在使用 Allure 框架为我们的测试生成报告。我用来自 alllure 的 @Step 注释注释了我的测试方法,例如:

@Step("Openining page: {0}")
public void beforeNavigateTo(String url, WebDriver driver) {

但是,在报告中,Allure 步骤在中间被剪掉了,例如:

[16:51:42.647] 打开页面:https://x.yyy.com/simplesaml/saml2/idp/SSOService.php?spentityid=https://neta...

我想查看完整的步骤说明,以便重现它。

我该怎么做?

【问题讨论】:

    标签: allure


    【解决方案1】:

    您可以使用allure.max.title.length 系统属性来更改最大步长标题长度。

    【讨论】:

    • 是否必须在生成报告之前设置?还是在渲染报表的时候用到?
    • 运行测试时应在项目中设置该属性
    猜你喜欢
    • 1970-01-01
    • 2015-07-28
    • 1970-01-01
    • 2022-11-12
    • 2021-06-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-10
    相关资源
    最近更新 更多