Open gazayas opened 1 year ago
I'm afraid this might get in the way of generating assertions with Ctrl + Shift + A.
I'm afraid this might get in the way of generating assertions with Ctrl + Shift + A.
Alright, I was able to fix it.
If we wanted to write blocks, I'm thinking with our current set up we'd have to write something like this, which I'm not a fan of:
testingOutput.push({action: "accept_alert do", target: "", options: ""});
// Register all of the actions for accept_alert...
// Then close off the block
testingOutput.push({action: "end", target: "", options: ""});
We could also write directly to the file above the magic_test
invocation, but again I think I'll just leave this one be unless we really need it or its requested for.
Closes #54.
This will add
accept_alert
to a test like this:We could probably do this with a block if we wanted to, but it would definitely take more work and I at least wanted to just make sure we could register alerts that were accepted when flushing the input.