Size: a a a

2020 October 20

A

Anton in Allure Framework
Нужно отключить allure-selenide, убрать из пакетов и убрать код где добавляется SelenideLogger
источник

A

Anton in Allure Framework
источник

A

Amidosha (Константин... in Allure Framework
Спасибо вам громадное.
источник

BO

Boris Osipov in Allure Framework
Anton
Нужно отключить allure-selenide, убрать из пакетов и убрать код где добавляется SelenideLogger
вангую через пару дней топикстартер придет с вопросом, "а че скриншоты перестали аттачиться к репорту".
источник

in Allure Framework
Boris Osipov
вангую через пару дней топикстартер придет с вопросом, "а че скриншоты перестали аттачиться к репорту".
Так для этого же не нужен allure-selenide
источник

A

Anton in Allure Framework
Так для этого же не нужен allure-selenide
ну многие только ради этого юзают =)
источник

S

Stanislav in Allure Framework
Помогите разобраться:
Автотесты работают в связке maven+testNg+cucumbre+allure-cucumberJVM5
Пытаюсь выполнить «just create environment.properties (or environment.xml) file to allure-results directory before report generation.»
https://docs.qameta.io/allure/#_environment
У меня папка с результатами /target/allure-results/, но на момент когда автотест переходит в метод after и пытается try (OutputStream output = new FileOutputStream("target/allure-results/environment.properties")) {
директрии allure-results еще нет и соответственно валится ошибка java.io.FileNotFoundException: target/allure-results/environment.properties (No such file or directory)
источник

𝕯

𝕯𝖒𝖎𝖙𝖗𝖞... in Allure Framework
Кто-то знает, что случилось с allure plugin для jenkins?
Zip файл перестал быть доступным и все работы валятся, потомучто не могут больше найти zip:

java.io.IOException: Server returned HTTP response code: 401 for URL: https://repo.jenkins-ci.org/maven-repo1/io/qameta/allure/allure-commandline/2.10.0/allure-commandline-2.10.0.zip
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3051)
09:16:24   at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)
09:16:24   at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)
09:16:24   at java.net.URLConnection.getContentLength(URLConnection.java:485)
09:16:24   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:407)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:90)
09:16:24  Caused: java.io.IOException: Server returned HTTP response code: 401 for URL: https://repo.jenkins-ci.org/maven-repo1/io/qameta/allure/allure-commandline/2.10.0/allure-commandline-2.10.0.zip
09:16:24   at sun.reflect.GeneratedConstructorAccessor693.newInstance(Unknown Source)
09:16:24   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
09:16:24   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
09:16:24   at java.security.AccessController.doPrivileged(Native Method)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
09:16:24   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.getStream(RetryableHttpStream.java:98)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:91)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:74)
09:16:24   at hudson.ProxyConfiguration.getInputStream(ProxyConfiguration.java:330)
09:16:24   at hudson.FilePath.installIfNecessaryFrom(FilePath.java:923)
источник

MK

Mem Kekovich in Allure Framework
Anton
ну многие только ради этого юзают =)
А ашот Яндекса уже не модный?
источник

A

Anton in Allure Framework
Stanislav
Помогите разобраться:
Автотесты работают в связке maven+testNg+cucumbre+allure-cucumberJVM5
Пытаюсь выполнить «just create environment.properties (or environment.xml) file to allure-results directory before report generation.»
https://docs.qameta.io/allure/#_environment
У меня папка с результатами /target/allure-results/, но на момент когда автотест переходит в метод after и пытается try (OutputStream output = new FileOutputStream("target/allure-results/environment.properties")) {
директрии allure-results еще нет и соответственно валится ошибка java.io.FileNotFoundException: target/allure-results/environment.properties (No such file or directory)
создавай директорию значит сам, и файлик тоже. Адаптеры его не генерируют
источник

A

Anton in Allure Framework
Mem Kekovich
А ашот Яндекса уже не модный?
тут даже не в ашоте дело. На каждом тест фреймворке можно свой способ аттача скринов сделать, но до этого надо догадаться
источник

A

Anton in Allure Framework
𝕯𝖒𝖎𝖙𝖗𝖞
Кто-то знает, что случилось с allure plugin для jenkins?
Zip файл перестал быть доступным и все работы валятся, потомучто не могут больше найти zip:

java.io.IOException: Server returned HTTP response code: 401 for URL: https://repo.jenkins-ci.org/maven-repo1/io/qameta/allure/allure-commandline/2.10.0/allure-commandline-2.10.0.zip
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3051)
09:16:24   at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)
09:16:24   at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)
09:16:24   at java.net.URLConnection.getContentLength(URLConnection.java:485)
09:16:24   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:407)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:90)
09:16:24  Caused: java.io.IOException: Server returned HTTP response code: 401 for URL: https://repo.jenkins-ci.org/maven-repo1/io/qameta/allure/allure-commandline/2.10.0/allure-commandline-2.10.0.zip
09:16:24   at sun.reflect.GeneratedConstructorAccessor693.newInstance(Unknown Source)
09:16:24   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
09:16:24   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
09:16:24   at java.security.AccessController.doPrivileged(Native Method)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
09:16:24   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
09:16:24   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.getStream(RetryableHttpStream.java:98)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:91)
09:16:24   at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:74)
09:16:24   at hudson.ProxyConfiguration.getInputStream(ProxyConfiguration.java:330)
09:16:24   at hudson.FilePath.installIfNecessaryFrom(FilePath.java:923)
какая версия плагина? возможно надо обновить сам плагин
источник

MK

Mem Kekovich in Allure Framework
Anton
тут даже не в ашоте дело. На каждом тест фреймворке можно свой способ аттача скринов сделать, но до этого надо догадаться
Не, я в целом :) чем сейчас модно кроме ашота делать скрины?(не селенид)
источник

YA

Yuriy Artamonov in Allure Framework
источник

YA

Yuriy Artamonov in Allure Framework
Вот такую балалайку за бугром юзают
источник

YA

Yuriy Artamonov in Allure Framework
Решения от Яндекса как то больше вокруг русскоязычных коммьюнити вертятся только
источник

YA

Yuriy Artamonov in Allure Framework
Но у shutterbug в зависимостях тот же ashot )
источник

MK

Mem Kekovich in Allure Framework
Yuriy Artamonov
Но у shutterbug в зависимостях тот же ashot )
😂
источник

YA

Yuriy Artamonov in Allure Framework
Просто уровень абстракции разный, такие дела
источник

YA

Yuriy Artamonov in Allure Framework
Как Spring и Spring Boot
источник