After block

Hi,

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

Aidy

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs