package guitests;

import guitests.guihandles.HelpWindowHandle;
import org.junit.Test;

import static org.junit.Assert.assertTrue;

public class HelpWindowTest extends TaskManagerGuiTest {
/*
    @Test
    public void openHelpWindow() {

        taskListPanel.clickOnListView();

        assertHelpWindowOpen(mainMenu.openHelpWindowUsingAccelerator());

        assertHelpWindowOpen(mainMenu.openHelpWindowUsingMenu());

        assertHelpWindowOpen(commandBox.runHelpCommand());

    }

    private void assertHelpWindowOpen(HelpWindowHandle helpWindowHandle) {
        assertTrue(helpWindowHandle.isWindowOpen());
        helpWindowHandle.closeWindow();
    }*/
}

@@ -57,16 +57,56 @@
 Handle;%0A
+import seedu.taskitty.model.task.Task;%0A%0A
 import o
@@ -120,16 +120,16 @@
 t.Test;%0A
-
 %0Aimport 
@@ -226,11 +226,9 @@
 t %7B%0A
-/*
 %0A
+
     
@@ -265,24 +265,60 @@
 Window() %7B%0A%0A
+        //click anywhere on the app%0A
         task
@@ -343,16 +343,41 @@
 istView(
+Task.TASK_COMPONENT_COUNT
 );%0A%0A    
@@ -757,9 +757,7 @@
    %7D
-*/
 %0A%7D%0A

Fix tests for Help window