The issue you're facing is that the assertSee() method in Livewire 3 fails when trying to assert the presence of content rendered within a nested child component.
To solve this problem, you can use the assertSeeLivewire() method instead. This method allows you to assert the presence of a Livewire component within the rendered HTML.
Here's an example of how you can modify your test to use assertSeeLivewire():
Livewire::test(PostContainer::class, ['product' => $this->product1])
->assertSeeLivewire('idea.card', ['idea' => $post, 'votesCount' => $idea->votes_count]);
In this example, we are asserting that the idea.card Livewire component is rendered with the correct attributes.
Make sure to replace 'idea.card' with the actual Livewire component name you are testing.
I hope this helps! Let me know if you have any further questions.