zacfilan / brimstone-recorder

Brimstone is a chrome extension. It is a codeless/scriptless web application test recorder, test player and pixel-perfect test validator all in one. Automated testing with no coding required!
4 stars 0 forks source link

Support the concept of a workaround type correction #230

Open zacfilan opened 2 years ago

zacfilan commented 2 years ago

I need a way to be able to label a correction, enable it for a little while, and then be able to remove it later on easily. There should be a 'create workaround' button on the edit actions, or in the menu. This will persist only for the current edit. Once we leave the edit we leave this mode. In this mode:

  1. the user will first have to name the workaround, and optionally add text w/ a link to a bug.
  2. only (?) and (iron) can be used.

These all apply corrections as usual. Every correction added in this mode is marked with the workaround label. The workaround is added to the action (label and text). When this correction is later used in a autocorrect (or manual) the workaround node is again applied to the action.

Later we need a way to see workarounds in the test, select them and delete them. Deleting a workaround means that any action with this workaround stamped on it will undo it's mask completely, and remove the workaround node from the action. I am not sure if a workaround should be allowed to be a group of corrections, meaning that every correction marked in workaround must apply in order for the workaround to auto match.