guidewire-oss / fern-ginkgo-client

An api client for to be used in Ginkgo to send test information to fern-reporter
Apache License 2.0
10 stars 7 forks source link

Fix: Capture label from spec runs and Skip SpecReports which are not spec runs #10

Open gowtham-ra opened 3 months ago

gowtham-ra commented 3 months ago

Details:

  1. Capture labels from each spec run instead of from suite labels in the Report method of the FernApiClient.
  2. Skip SpecRuns which are not of LeafNodeType It. We need to do this because SpecReport contains line items for setup nodes like BeforeEach, etc which are not essentially SpecRuns.