File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/main/java/com/frameworkium/tests/internal Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1717import org .testng .annotations .BeforeMethod ;
1818import org .testng .annotations .BeforeSuite ;
1919import org .testng .annotations .Listeners ;
20+ import ru .yandex .qatools .allure .Allure ;
2021import ru .yandex .qatools .allure .annotations .Issue ;
2122import ru .yandex .qatools .allure .annotations .TestCaseId ;
23+ import ru .yandex .qatools .allure .events .StepFinishedEvent ;
24+ import ru .yandex .qatools .allure .events .StepStartedEvent ;
2225
2326import java .lang .reflect .Method ;
2427import java .util .ArrayList ;
@@ -197,4 +200,12 @@ public SauceOnDemandAuthentication getAuthentication() {
197200 public static ScreenshotCapture getCapture () {
198201 return capture .get ();
199202 }
203+
204+ public static void startStep (String stepName ){
205+ Allure .LIFECYCLE .fire (new StepStartedEvent (stepName ));
206+ }
207+
208+ public static void finishStep (){
209+ Allure .LIFECYCLE .fire (new StepFinishedEvent ());
210+ }
200211}
You can’t perform that action at this time.
0 commit comments