63
Views
3
Comments
[BDDFramework Client Side] AbortTransaction Server Action not working in Teardown
bddframeworkclientside
Mobile icon
Forge asset by OutSystems
Application Type
Traditional Web, Mobile, Reactive, Service

When I am creating test data, I use the AbortTransaction System Server Action, and the data is not torn down properly. I instead have to manually go in and delete it from the DB.

2021-11-18 18-03-41
AJ.

Hello @Hunter Salada 

In the process of creating your test data the 'End' note in your action will implicitly commit the transaction. 

The AbortTransaction system server action only rolls back database changes performed since the last commit. 

AFAIK, you have to manually teardown test data in your teardown step.

Regards,

AJ

UserImage.jpg
Ewin Hong

@AJ. 

I directed Hunter to post on the Forge to get him to involved with posting to the Forge. 

Traditional BDD explicitly allow AbortTransaction to roll back the entire test data set up and the actual system under test transaction as well.  latest release was in 1.4.0 (BDDFramework - Overview | OutSystems )

This item was to get the same functionality of Abort Transaction capability of Traditional BDD into BDD Client Side Forge Component.



2021-11-18 18-03-41
AJ.

Hello @Ewin Hong,

Agreed, that would be a great feature add to the Client Side forge asset, on the same lines as the Traditional BDD Framework.

Regards,

AJ

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.