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
When I run this test case, the snapshot file is successfully written:
╔═ rejects invalid commands/Child node not found ═╗
ModifyItem must have a valid item case to modify
╔═ rejects invalid commands/Empty modify item ═╗
ModifyItem must have a valid item case to modify
╔═ rejects invalid commands/Empty modify node item ═╗
ModifyNodeItemWithAddition must have either modifyItem, updateExistingTraits, modifyChildElectricalConnectionPoints, or upstreamElectricalConnectionPoint
╔═ rejects invalid commands/No UtilityMeterNode when trying to edit a utility meter node ═╗
No UtilityMeterNode item found for node id 1 in topology
╔═ rejects invalid commands/Node not found ═╗
Provided node id 1 not in topology
╔═ rejects invalid commands/empty modifyDownstreamElectricalConnectionPoint ═╗
ModifyItem must have a valid item case to modify
╔═ rejects invalid commands/empty simpleElectricalConnectionPoint ═╗
ModifyItem must have a valid item case to modify
╔═ [end of file] ═╗
But the first run fails with this error:
org.opentest4j.AssertionFailedError: Snapshot was set to multiple values!
first time: ValidatorTest$rejects invalid commands$1.invokeSuspend(Validator.kt:613)
this time: ValidatorTest$rejects invalid commands$1.invokeSuspend(Validator.kt:613)
Once the file is created things seem to work:
Subsequent test runs pass
If I modify one or more of the expected value and include //selfieonce the updates are made and tests pass
Add one or more new test case with //selfieonce
I can produce the same errors again if the file exists if I ever reuse the _TODO.
The text was updated successfully, but these errors were encountered:
I am using
selfie-runner-junit5:2.0.1
to verify errors for each test case. I my parameters include a unique test case name to pass intotoMatchDisk
.The summarized version:
When I run this test case, the snapshot file is successfully written:
But the first run fails with this error:
Once the file is created things seem to work:
//selfieonce
the updates are made and tests pass//selfieonce
I can produce the same errors again if the file exists if I ever reuse the
_TODO
.The text was updated successfully, but these errors were encountered: