Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using .withName() instead of allure step #108

Open
dabrynskiy opened this issue Feb 25, 2025 · 0 comments
Open

Using .withName() instead of allure step #108

dabrynskiy opened this issue Feb 25, 2025 · 0 comments

Comments

@dabrynskiy
Copy link

Ultron 2.5.4
UltronAllureConfig.detailedAllureReport = true

I want to stop using io.qameta.allure.kotlin.Allure.step() when writing tests
matchers have a excellent .withName() function that fills in UltronEspressoInteraction.elementInfo.name | UltronComposeSemanticsNodeInteraction.elementInfo.name

UltronEspressoInteraction.elementInfo.name is used to create the allure step (UltronAllureConfig.detailedAllureReport = true)

UltronRecyclerView, UltronComposeList and its methods that work only with Matcher and does not work with UltronEspressoInteraction where i fill UltronEspressoInteraction.elementInfo.name
Now there is no way to pass it to the UltronRecyclerView, UltronComposeList constructor UltronEspressoInteraction | UltronComposeSemanticsNodeInteraction
Also the UltronRecyclerView, UltronComposeList methods only accept Matcher and not UltronEspressoInteraction | UltronComposeSemanticsNodeInteraction

in this case, the allure report contains steps with a technical description of the matcher, which is not friendly for non-technical specialists

Is it possible to modify the framework to completely stop using of io.qameta.allure.kotlin.Allure.step() when writing tests?

as is
withRecyclerView(Matcher<View>).isDisplayed
withRecyclerView(Matcher<View>).getFirstItemMatched(Matcher<View>).isDisplayed
to be
withRecyclerView(UltronEspressoInteraction).isDisplayed
withRecyclerView(UltronEspressoInteraction).getFirstItemMatched(UltronEspressoInteraction).isDisplayed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant