Joseph Kerkhof
Testing a Table ToggleColumn
I have the following in a relation manager:
and the following test:
I'd like to test the logic for the
ToggleColumn
. I can test the initial state based on the data I set up in the test using ->assertTableActionDataSet()
, but I want to
1. change the state of the toggle in the test and work the updateStateUsing()
function and
2. check if the toggle is disabled (or not) based on the setup data I feed it
I have read over the state testing docs, but they only seem to describe read-only tests.4 replies