def METHOD_NAME(qtbot, test_object, init_config):
    """Function to change the value of the transparency slider, and assert that the image has been updated."""
    # Triggering draw window
    qtbot.mouseClick(test_object.main_window.structures_tab.button_roi_draw, Qt.LeftButton)
    assert test_object.main_window.draw_roi is not None
    draw_roi_window = test_object.main_window.draw_roi
    # Assert initial drawing has been created
    draw_roi_window.min_pixel_density_line_edit.setText("900")
    draw_roi_window.max_pixel_density_line_edit.setText("1000")
    draw_roi_window.onFillClicked(False)
    draw_roi_window.drawingROI.fill_source = [250, 250]
    draw_roi_window.drawingROI._display_pixel_color()
    post_draw_clicked_drawing = draw_roi_window.drawingROI.q_pixmaps
    assert post_draw_clicked_drawing is not None
    # Assert drawn image has been changed after slider adjustment
    draw_roi_window.transparency_slider.setValue(100)
    post_transparency_change_drawing = draw_roi_window.drawingROI.q_pixmaps
    assert post_transparency_change_drawing != post_draw_clicked_drawing
    # Run Drawing reset, prevents post test crash
    draw_roi_window.onResetClicked()