Search in sources :

Example 1 with NoraUiInjectorSource

use of com.github.noraui.cucumber.injector.NoraUiInjectorSource in project NoraUi by NoraUi.

the class CommonStepsUT method setUp.

@Before
public void setUp() {
    s = new CommonSteps();
    NoraUiInjector.resetInjector();
    new NoraUiInjectorSource().getInjector();
}
Also used : NoraUiInjectorSource(com.github.noraui.cucumber.injector.NoraUiInjectorSource) Before(org.junit.Before)

Example 2 with NoraUiInjectorSource

use of com.github.noraui.cucumber.injector.NoraUiInjectorSource in project NoraUi by NoraUi.

the class StepUT method setUp.

@Before
public void setUp() {
    step = new Step();
    ci = new ConditionedInterceptor();
    gherkinCondition = new GherkinStepCondition();
    conditions = new ArrayList<>();
    NoraUiInjector.resetInjector();
    new NoraUiInjectorSource().getInjector();
}
Also used : ConditionedInterceptor(com.github.noraui.cucumber.interceptor.ConditionedInterceptor) GherkinConditionedLoopedStep(com.github.noraui.gherkin.GherkinConditionedLoopedStep) GherkinStepCondition(com.github.noraui.gherkin.GherkinStepCondition) NoraUiInjectorSource(com.github.noraui.cucumber.injector.NoraUiInjectorSource) Before(org.junit.Before)

Example 3 with NoraUiInjectorSource

use of com.github.noraui.cucumber.injector.NoraUiInjectorSource in project NoraUi by NoraUi.

the class PageUT method setUp.

@Before
public void setUp() {
    NoraUiInjector.resetInjector();
    new NoraUiInjectorSource().getInjector();
}
Also used : NoraUiInjectorSource(com.github.noraui.cucumber.injector.NoraUiInjectorSource) Before(org.junit.Before)

Aggregations

NoraUiInjectorSource (com.github.noraui.cucumber.injector.NoraUiInjectorSource)3 Before (org.junit.Before)3 ConditionedInterceptor (com.github.noraui.cucumber.interceptor.ConditionedInterceptor)1 GherkinConditionedLoopedStep (com.github.noraui.gherkin.GherkinConditionedLoopedStep)1 GherkinStepCondition (com.github.noraui.gherkin.GherkinStepCondition)1