await patientlyWaitFor(() => {
    expect(getByText(`name = ${lastPackageGroupName} and`)).toBeInTheDocument();
    expect(queryByText(`name = ${firstPackageGroupName} and`)).not.toBeInTheDocument();
  });