package my.company.tests;

import my.company.steps.WebDriverSteps;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.phantomjs.PhantomJSDriver;
import org.openqa.selenium.remote.DesiredCapabilities;

/**
 * @author Dmitry Baev charlie@yandex-team.ru
 *         Date: 28.10.13
 */
public class SearchTest {

    private WebDriverSteps steps;

    @Before
    public void setUp() throws Exception {
        steps = new WebDriverSteps(
                new PhantomJSDriver(new DesiredCapabilities())
        );
    }

    @Test
    public void searchTest() throws Exception {
        steps.openMainPage();
        steps.search("Yandex QATools");
        steps.makeScreenshot();
        steps.quit();
    }

}


@@ -298,16 +298,49 @@
 .13%0A */%0A
+ @Feature(%22User search at page%22)%0A
 public c
@@ -397,180 +397,8 @@
 s;%0A%0A
-    @Before%0A    public void setUp() throws Exception %7B%0A        steps = new WebDriverSteps(%0A                new PhantomJSDriver(new DesiredCapabilities())%0A        );%0A    %7D%0A%0A
     

Update Some.java