小编Але*_*кий的帖子

如何为 Allure 放宽 Jenkins 安全规则?

我尝试添加在詹金斯脚本控制台,但它并没有帮助:

"-Dhudson.model.DirectoryBrowserSupport.CSP=default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';"

这该怎么做?或者有什么问题

jenkins allure

5
推荐指数
1
解决办法
1644
查看次数

是否可以从 TestFlight 下载 ipa 文件?

如果我是任何应用程序的 Beta 测试员,如何从 TestFlight 下载 ipa?

我通过 API 在 HockeyApp 中实现了它:

 curl -o app.ipa -H "X-HockeyAppToken: $TOKEN" -O -L "https://rink.hockeyapp.net/api/2/apps/$APP_ID/app_versions/$BUILD_NUMBER?format=ipa"
Run Code Online (Sandbox Code Playgroud)

也许有人知道如何在 TestFlight 中做到这一点?

curl ios ipa testflight

5
推荐指数
1
解决办法
6418
查看次数

SoftAssert 正在从其他测试中提取结果

当我这样做时.assertAll()SoftAssert会从其他测试中提取结果。

例子:

public SoftAssert softAssert = new SoftAssert();

@Test(priority = 1)
public void newTest1() {
    softAssert.assertTrue(false, "test1");
    softAssert.assertAll();
}

@Test(priority = 2)
public void newTest2() {
    softAssert.assertTrue(false, "test2");
    softAssert.assertAll();
}
Run Code Online (Sandbox Code Playgroud)

newTest1测试结果:

java.lang.AssertionError: The following asserts failed:
test1 expected [true] but found [false]`
Run Code Online (Sandbox Code Playgroud)

newTest2测试结果:

java.lang.AssertionError: The following asserts failed:
test1 expected [true] but found [false],
test2 expected [true] but found [false]`
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

testng.version   == 6.9.10
selenium.version == 2.53.1
java.version     == 1.8.0_65-b17
Run Code Online (Sandbox Code Playgroud)

java testng selenium

1
推荐指数
1
解决办法
605
查看次数

标签 统计

allure ×1

curl ×1

ios ×1

ipa ×1

java ×1

jenkins ×1

selenium ×1

testflight ×1

testng ×1