After block


#1

Hi,

Is the way to figure out the the last scenario executed in the After
block?

Aidy


#2

you could mess around with what cucumber is doing, like

@__executor.instance_variable_get("@executed_scenarios")

There may be an easier way that I’m not aware of.