Source:
<code>public void checkWorkspaceSelectingByCheckbox() throws Exception { String blankWorkspaceName = blankWorkspace.getName(); String javaWorkspaceName = javaWorkspace.getName(); workspaces.waitPageLoading(); workspaces.selectAllWorkspacesByBulk(); <START> <END> assertTrue(workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectAllWorkspacesByBulk(); assertTrue(!workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(!workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(!workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtnDisappearance(); workspaces.selectAllWorkspacesByBulk(); assertTrue(workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectWorkspaceByCheckbox(blankWorkspaceName); assertTrue(workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(!workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(!workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectWorkspaceByCheckbox(javaWorkspaceName); assertTrue(!workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(!workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(!workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtnDisappearance(); workspaces.selectWorkspaceByCheckbox(blankWorkspaceName); assertTrue(!workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(!workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectWorkspaceByCheckbox(javaWorkspaceName); assertTrue(workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectAllWorkspacesByBulk(); assertTrue(!workspaces.isWorkspaceChecked(javaWorkspaceName)); assertTrue(!workspaces.isWorkspaceChecked(blankWorkspaceName)); assertTrue(!workspaces.isBulkCheckboxEnabled()); workspaces.waitDeleteWorkspaceBtnDisappearance(); }</code><technical_language>divide selectAllWorkspacesByBulk() assertTrue statements empty row separate steps more obvious</technical_language>

Target:
public void checkWorkspaceSelectingByCheckbox() throws Exception { String blankWorkspaceName = blankWorkspace.getName(); String javaWorkspaceName = javaWorkspace.getName(); workspaces.waitPageLoading(); workspaces.selectAllWorkspacesByBulk(); workspaces.waitWorkspaceCheckboxEnabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxEnabled(blankWorkspaceName); workspaces.waitBulkCheckboxEnabled(); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectAllWorkspacesByBulk(); workspaces.waitWorkspaceCheckboxDisabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxDisabled(blankWorkspaceName); workspaces.waitBulkCheckboxDisabled(); workspaces.waitDeleteWorkspaceBtnDisappearance(); workspaces.selectAllWorkspacesByBulk(); workspaces.waitWorkspaceCheckboxEnabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxEnabled(blankWorkspaceName); workspaces.waitBulkCheckboxEnabled(); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectWorkspaceByCheckbox(blankWorkspaceName); workspaces.waitWorkspaceCheckboxEnabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxDisabled(blankWorkspaceName); workspaces.waitBulkCheckboxDisabled(); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectWorkspaceByCheckbox(javaWorkspaceName); workspaces.waitWorkspaceCheckboxDisabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxDisabled(blankWorkspaceName); workspaces.waitBulkCheckboxDisabled(); workspaces.waitDeleteWorkspaceBtnDisappearance(); workspaces.selectWorkspaceByCheckbox(blankWorkspaceName); workspaces.waitWorkspaceCheckboxDisabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxEnabled(blankWorkspaceName); workspaces.waitBulkCheckboxDisabled(); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectWorkspaceByCheckbox(javaWorkspaceName); workspaces.waitWorkspaceCheckboxEnabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxEnabled(blankWorkspaceName); workspaces.waitBulkCheckboxEnabled(); workspaces.waitDeleteWorkspaceBtn(); workspaces.selectAllWorkspacesByBulk(); workspaces.waitWorkspaceCheckboxDisabled(javaWorkspaceName); workspaces.waitWorkspaceCheckboxDisabled(blankWorkspaceName); workspaces.waitBulkCheckboxDisabled(); workspaces.waitDeleteWorkspaceBtnDisappearance(); }