picimako / terra-support

Adds support for Cerner's Terra UI component and test automation libraries.
https://plugins.jetbrains.com/plugin/15430-terra-support
Apache License 2.0
0 stars 0 forks source link

Deleting the last screenshot node of a spec should delete the spec node as well #19

Closed picimako closed 3 years ago

picimako commented 3 years ago

Steps to reproduce

  1. Open the Terra Wdio tool window
  2. Delete all the screenshot node under a spec node.

Expected results

The spec node should be removed.

Actual results

The spec node remains in the tool window without screenshot nodes under it.

Technical notes

Add the removal logic to com.picimako.terra.wdio.toolwindow.action.DeleteScreenshotsAction.

Versions affected

0.1.0, 0.2.0

Out of scope

picimako commented 3 years ago

Completed.