package com.sdl.weblocator.extjs;

import com.extjs.selenium.form.Checkbox;
import com.extjs.selenium.panel.Panel;
import com.sdl.weblocator.TestBase;
import org.apache.log4j.Logger;
import org.testng.annotations.Test;

import static org.testng.Assert.assertTrue;

public class CheckBoxTest extends TestBase {
    private static final Logger logger = Logger.getLogger(CheckBoxTest.class);

    Panel simpleFormPanel = new Panel(null, "Simple Form");
    Checkbox rightCheckBox = new Checkbox("CatRight", simpleFormPanel);
    Checkbox leftCheckBox = new Checkbox("CatLeft:", simpleFormPanel);

    @Test
    public void rightCheckBox() {
        rightCheckBox.click();
        assertTrue(rightCheckBox.isSelected());
    }

    @Test
    public void leftCheckBox() {
        leftCheckBox.click();
        assertTrue(leftCheckBox.isSelected());
    }
}

@@ -43,224 +43,63 @@
 com.
-extjs.selenium.form.Checkbox;%0Aimport com.extjs.selenium.panel.Panel;%0Aimport com.sdl.weblocator.TestBase;%0Aimport org.apache.log4j.Logger;%0Aimport org.testng.annotations.Test;%0A%0Aimport static org.testng.Assert.assertTrue
+sdl.weblocator.TestBase;%0Aimport org.apache.log4j.Logger
 ;%0A%0Ap
@@ -226,16 +226,18 @@
 );%0A%0A    
+/*
 Panel si
@@ -683,11 +683,13 @@
 );%0A    %7D
+*/
 %0A%7D%0A

comment CheckBoxTest.java