profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/selenide-examples/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Selenide examples selenide-examples Tallinn, Estonia Examples of using Selenide with different tools

selenide-examples/google 70

Automated tests for Google search

selenide-examples/hangman 30

The hangman game written in Java

selenide-examples/selenide-appium 29

Mobile automation made easy

selenide-examples/testcontainers 25

Selenide + TestContainers (Docker) sample project

selenide-examples/kotlin 12

UI Test example in Kotlin language

selenide-examples/selenoid-sample 8

How to run Selenide UI tests with browsers in Selenoid

push eventselenide-examples/selenide-appium

Boris Osipov

commit sha ebdb3e49abf48f7e683fc24c7d63821b46f47004

Fix test run

view details

push time in a day

fork suriya029/google

Automated tests for Google search

fork in 6 days

startedselenide-examples/google

started time in 7 days

issue commentselenide-examples/cucumber

TextReport support for Cucumber+TestNg

@asolntsev further to my previous comment, When I went ahead and added a sample TestNg test in my Cucumber-TestNg project then I see text report in console, as you can see in the screenshot.

However, unfortunately, the same doesn't seem to work with Cucumber combination.

Please let me know if it's something that can be looked at?

TestNg

Thanks !!!

vrajasg

comment created time in 9 days

issue commentselenide-examples/cucumber

TextReport support for Cucumber+TestNg

@asolntsev thanks for the response, much appreciated.

Seems for some reason text reports are not generated when configured with Cucumber.

So I took a step back and checked out Selenide examples: Cucumber project and even that didn't generate text reports. I see that project is already configured to generate a report (jUnit @rule & slf4j-simple) as per report doc.

Here is the console output from my run, not sure what am missing here to see text report.

Screenshot 2021-10-14 at 16 50 42

Steps followed:

  • In Intellij
  • Check out Selenide examples: Cucumber
  • Added dependency 'org.slf4j:slf4j-log4j12:1.7.32'.
  • Downloaded dependencies
  • Run mvn

Note: Also tried below

  • By adding cucumber.iml
  • Explicitly setting onFailedTest && onSucceededTest to true in @Before hook of Cucumber.
vrajasg

comment created time in 9 days

issue commentselenide-examples/cucumber

TextReport support for Cucumber+TestNg

@asolntsev further to my previous comment, When I went ahead and added a sample TestNg test in my Cucumber-TestNg project then I see text report in console, as you can see in the screenshot.

However, unfortunately, the same doesn't seem to work with Cucumber combination.

Please let me know if it's something that can be looked at?

TestNg

Thanks!!!

vrajasg

comment created time in 9 days

issue commentselenide-examples/cucumber

TextReport support for Cucumber+TestNg

@asolntsev thanks for the response, much appreciated.

Seems for some reason text reports are not generated when configured with Cucumber.

So I took a step back and checked out Selenide examples: Cucumber project and even that didn't generate text reports. I see that project is already configured to generate a report (jUnit @Rule & slf4j-simple) as per report doc.

Here is the console output from my run, not sure what am missing here to see text report. Console output

Steps followed:

  • In Intellij
  • Check out Selenide examples: Cucumber
  • Downloaded dependencies
  • Run mvn

Note: Also tried below

  • By adding cucumber.iml
  • Explicitly setting onFailedTest && onSucceededTest to true in @Before hook of Cucumber.
vrajasg

comment created time in 9 days

issue commentselenide-examples/cucumber

TextReport support for Cucumber+TestNg

Hi Raja.

  1. I am not sure about Cucumber+TestNG. If Cucumber respects **@. annotation, then it should work.

  2. Yes, slf4j is mandatory (this is de-facto standard in Java world), but it's not contradictory. Slf4j is just a wrapper over log4j. You just need to add dependency 'org.slf4j:slf4j-log4j12:1.7.32'.

  3. Selenide writes the generated TextReport to the log. Once you add slf4h-log4j dependency, the report will be logged with your log4j.

Andrei Solntsev

ср, 13 окт. 2021 г. в 14:31, Raja Gone ***@***.***>:

Hi,

Have just started to use Selenide and struck while configuring Text report. Can someone please clarify questions around Text report configuration?

  • Does Selenide support generating Text report when configured (or setup) with Cucumber+TestNg
  • Is slf4j mandatory as am already using log2j
  • Where can I see generated Text report, is it in the target folder

Really appreciate the support here as I couldn't found much help around the Text report setup. Also, apologies if this is not right place to post the question (please point me to right place if so).

My Reference so far: https://selenide.org/documentation/reports.html

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/selenide-examples/cucumber/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACEJXPL2FEAI3JTMDXE443UGVUY5ANCNFSM5F46VT6A .

vrajasg

comment created time in 10 days

issue openedselenide-examples/cucumber

TextReport support for Cucumber+TestNg

Hi,

Have just started to use Selenide and struck while configuring Text report. Can someone please clarify questions around Text report configuration?

 - Does Selenide support generating Text report when configured (or setup) with Cucumber+TestNg
 - Is slf4j mandatory as am already using log2j
 - Where can I see generated Text report, is it in the target folder

Really appreciate the support here as I couldn't found much help around the Text report setup. Also, apologies if this is not right place to post the question (please point me to right place if so).

My Reference so far: https://selenide.org/documentation/reports.html

Thanks.

created time in 10 days

push eventselenide-examples/selenide-appium

Andrei Solntsev

commit sha d6b9c902c73ce654d1266eeea9eb991097281dae

upgrade to selenide-appium:1.7.1

view details

push time in 18 days

push eventselenide-examples/testcontainers

Andrei Solntsev

commit sha 47d727db8d0a0ed25a8fbcf5f1da2c7e50ec2bd3

upgrade to selenide:5.25.0

view details

push time in a month

push eventselenide-examples/google

Andrei Solntsev

commit sha 9cd5bdd42b5700cc461a84cf26a299f2b89f0a7c

upgrade to 5.25.0-selenium-4.0.0-rc-1

view details

push time in a month

push eventselenide-examples/selenide-allure-junit

Andrei Solntsev

commit sha ca55d39d15999adb6449997db38f705d79fc8e13

upgrade to selenide 5.25.0

view details

push time in a month

push eventselenide-examples/selenoid-sample

Andrei Solntsev

commit sha e8c44a8be94fd18f8109a6e78f3273c6e7a4559d

upgrade to Selenide 5.25.0 and selenide-selenoid 1.2.0

view details

push time in a month

push eventselenide-examples/selenide-appium

Andrei Solntsev

commit sha 56a2761beec58d02455695bc95ffa2e440e65927

upgrade to selenide:5.25.0 and selenide-appium:1.7.0

view details

push time in a month

startedselenide-examples/selenide-allure-junit

started time in a month

startedselenide-examples/selenide-allure-junit

started time in a month

push eventselenide-examples/selenide-allure-junit

Andrei Solntsev

commit sha 17d77b054f14d91b6caf78e0f93510cbd38110f2

upgrade to allure 2.15.0 and selenide 5.24.4

view details

push time in a month

fork volodimirchernov/testcontainers

Selenide + TestContainers (Docker) sample project

fork in a month

startedselenide-examples/selenide-allure-junit

started time in a month

push eventselenide-examples/google

Andrei Solntsev

commit sha 6d02ca86507b473952e02ea0ef7ca70ae6a8248a

upgrade to 5.24.3-selenium-4.0.0-rc-1

view details

push time in a month

push eventselenide-examples/google

Andrei Solntsev

commit sha 1bff3e3acc3cda038cc5b623cd6087be4a4319bc

fix tests after migrating to duckduckgo

view details

push time in a month

fork caestrada1103/google

Automated tests for Google search

fork in a month

push eventselenide-examples/selenide-appium

Andrei Solntsev

commit sha ff412f8de5427300f39dc77a3207f35a9cd43cc1

JUnit 4 -> JUnit 5

view details

push time in a month

push eventselenide-examples/selenide-appium

Andrei Solntsev

commit sha b6870ba812d3728bc862a2738dd10c13bc5e6434

upgrade to selenide:5.24.3 and selenide-appium:1.6.9

view details

push time in a month

push eventselenide-examples/selenoid-sample

Andrei Solntsev

commit sha fe48abe6007af2e4f6e5e11748a0ab6f72d7684c

upgrade to Selenide 5.24.3 and selenide-selenoid 1.1.7

view details

push time in a month

delete branch selenide-examples/testcontainers

delete branch : publish-test-report-on-github-actions

delete time in a month

push eventselenide-examples/testcontainers

Andrei Solntsev

commit sha 985497f9433b2d89ae827f740557b1a3b0415b74

publish test report on github actions

view details

Andrei Solntsev

commit sha 0951aea4fabd961ea194056a46baf2cdbd5929a6

fix the locator we need to use `withText` because the link text is "jar (481 KB)", not just "jar"

view details

Andrei Solntsev

commit sha 7d80570fc501139cb1d1436147b3e094023f0aa2

Merge pull request #5 from selenide-examples/publish-test-report-on-github-actions publish test report on github actions

view details

push time in a month