Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Not working AllureNonCriticalError in actions #216

Open
SandraBarmina opened this issue Apr 8, 2019 · 0 comments
Open

Not working AllureNonCriticalError in actions #216

SandraBarmina opened this issue Apr 8, 2019 · 0 comments

Comments

@SandraBarmina
Copy link
Contributor

Non critical step faled scenario

For example
Method:

 @ActionTitle("action")
    public void action() {
        throw new AllureNonCriticalError("I'm non critical!");
    }

Step:
* user (action)

Result:

```

ru.sbtqa.tag.pagefactory.exceptions.FactoryRuntimeException: Error while executing action 'actions' on ContactPage . See the caused exception below
at ru.sbtqa.tag.pagefactory.reflection.DefaultReflection.executeMethodByTitle(DefaultReflection.java:64)
at ru.sbtqa.tag.pagefactory.junit.CoreSteps.action_aroundBody10(CoreSteps.java:135)
at ru.sbtqa.tag.pagefactory.junit.CoreSteps$AjcClosure11.run(CoreSteps.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at ru.sbtqa.tag.pagefactory.allure.JunitReporter.handleStep(JunitReporter.java:25)
at ru.sbtqa.tag.pagefactory.aspects.JUnitCoreStepAspect.handleStep(JUnitCoreStepAspect.java:13)
at ru.sbtqa.tag.pagefactory.junit.CoreSteps.action(CoreSteps.java:134)
at ru.sbtqa.tag.stepdefs.en.CoreStepDefs.action(CoreStepDefs.java:78)
at ✽.user (ACTIONS) from the list(src/test/resources/features/dataBinding.feature:18)
Caused by: ru.sbtqa.tag.pagefactory.exceptions.AllureNonCriticalError: I'm non critical!
at pagefactory.pages.webelements.ContactPage.act(ContactPage.java:84)

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

No branches or pull requests

1 participant