package guitests;

import static org.junit.Assert.assertTrue;

import org.junit.Test;

//@@author A0140042A
/**
 * Test class to check if label list is being toggled
 */
public class ToggleLabelListTest extends TaskManagerGuiTest {

    @Test
    public void gui_TestToggleLabelListView_ReturnTrue() {
        leftPanel.clickOnLabelHeader();
        assertTrue(!leftPanel.isVisible());
        leftPanel.clickOnLabelHeader();
        assertTrue(leftPanel.isVisible());
    }
}

@@ -12,16 +12,60 @@
 tests;%0A%0A
+import static org.junit.Assert.assertFalse;%0A
 import s
@@ -330,16 +330,25 @@
 w_Return
+FalseThen
 True() %7B
@@ -406,14 +406,14 @@
 sert
-Tru
+Fals
 e(
-!
 left

Update assert in toggleLabelList