TestAction nested field access

I have a test case that tests the createOption action of the select field.

I basically have this structure:
tabs > tab > section > repeater > select

In v3, I was doing this:
->callFormComponentAction(
  'NAME_OF_REPEATER.0.NAME_OF_SELECT',
  'createOption',
  data: [
    'some-input' => 'Foo',
  ],
)

In v4, I was able to run it with this, after a long session of debugging:
->callAction(
    TestAction::make('createOption')->schemaComponent(
        'NAME_OF_TABS::data::tabs.NAME_OF_TAB::data::tab.NAME_OF_SECTION::data::section.NAME_OF_REPEATER.0.NAME_OF_SELECT',
    ),
    data: [
        'some-input' => 'Foo',
    ],
)

If I don't specify a name for Tabs, it gets a bit shorter:
NAME_OF_TAB::data::tab.NAME_OF_SECTION::data::section.NAME_OF_REPEATER.0.NAME_OF_SELECT

But, this doesn't seem anywhere near usable. I think it's either an unintended change or I am doing something wrong. Can someone please enlighten me?
Was this page helpful?