How can i add screenshot to allure-cucumber report with ruby? -


would kindly me there work provide support attaching add screenshot allure-cucumber report. using construction

after |scenario|   @browser.save_screenshot if scenario.failed?   include allurecucumber::dsl   attach_file("07apr2017114056.png",file.open("../../src/screen/07apr2017114056.png"))   @browser.quit end 

but dont work , give me erorr msg: errno::enoent: no such file or directory @ rb_sysopen - ../../src/screen/07apr2017114056.png wrong?

it wor comand --format allurecucumber::formatter --out


Comments

Popular posts from this blog

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -