Closed albedinsky closed 3 years ago
Wow! Can't believe that got missed. I've got a consumer test that does an import
instead of a @testable import
now to prevent this from happening again for this issue. I'm not at the computer that has my tokens to be able to deploy, but will get this fix released for you ASAP.
No problem @Tyler-Keith-Thompson, thank you :)
CucumberSwift 3.1.4 was just released and fixes this issue.
Describe the bug
When trying to access
rows
property inDataTable
, likestep.dataTable!.rows
, the compiler complains that this property is not accessible due to internal protection level.When looking at
DataTable
implementation, therows
property is not actually public, maybe this is the problem?According to documentation related to Test Data this should be possible.
To Reproduce Steps to reproduce the behavior:
When("^Step$") { maches, step in ... }
step definitionstep.dataTable!.rows
propertyExpected behavior The
rows
property onDataTable
instance should be accessible.Screenshots
Additional context Add any other context about the problem here.