You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using serenity screenplay rest for automating the api tests and we have been blocked on identifying a solution. Currently we create new resources/entities using post call and at the end of all the tests we are expected to delete all resources created.
We store all the resources using actor.remember("key","value")
To delete all the resources created we create a @afterall non static method and using consumer.recallAll()
The problem is, the @afterall method is not at all invoked after all tests are completed. Could someone help me on this ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello Folks,
We are using serenity screenplay rest for automating the api tests and we have been blocked on identifying a solution. Currently we create new resources/entities using post call and at the end of all the tests we are expected to delete all resources created.
We store all the resources using actor.remember("key","value")
To delete all the resources created we create a @afterall non static method and using consumer.recallAll()
The problem is, the @afterall method is not at all invoked after all tests are completed. Could someone help me on this ?
Thanks n advance @wakaleo
Beta Was this translation helpful? Give feedback.
All reactions