def METHOD_NAME(driver, user, public_group, upload_data_token, comment_token):
    obj_id_base = str(uuid.uuid4())
    for i in range(2):
        status, data = api(
            'POST',
            'sources',
            data={
                'id': f'{obj_id_base}_{i}',
                'ra': 234.22,
                'dec': -22.33,
                'redshift': 3,
                'transient': False,
                'ra_dis': 2.3,
                'group_ids': [public_group.id],
            },
            token=upload_data_token,
        )
        assert status == 200
        assert data['data']['id'] == f'{obj_id_base}_{i}'
        status, data = api(
            'POST',
            f'sources/{obj_id_base}_{i}/comments',
            data={'obj_id': f'{obj_id_base}_{i}', 'text': f'comment_text_{i}'},
            token=comment_token,
        )
        assert status == 200
    driver.get(f'/become_user/{user.id}')
    driver.get('/')
    driver.wait_for_xpath('//span[text()="a few seconds ago"]')
    # Default is to not show bot comments; enable for now
    driver.click_xpath('//*[@id="newsFeedSettingsIcon"]')
    driver.click_xpath('//*[@data-testid="categories.includeCommentsFromBots"]')
    driver.click_xpath('//button[contains(., "Save")]')
    for i in range(2):
        # Source added item
        driver.wait_for_xpath(
            f'//div[contains(@class, "entryContent")][.//p[text()="New source saved"]][.//a[@href="/source/{obj_id_base}_{i}"]]'
        )
        # Comment item
        driver.wait_for_xpath(f'//p[contains(text(),"comment_text_{i}")]')