Camo
4 years agoOccasional Contributor
How to write hook with annotation and order
I need to use hook with tag and order. If I try to write
@After("@last", order=1)
idea shows an error: Annotation attribute must be of the form 'name=value'. Can somebody tell me please what is the correct form? If I try @After(tags="@last", order=1) it is also incorrect.
the solution is
@After(value="@last", order=1)