mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/MissionHelper.java
public static void executeTestOnMission(final WebDriver driver, final String missionName)
    {
        WebElement theMissionCard = MissionHelper.findCorrectRunningMissionCard(driver, missionName);
        assertThat(theMissionCard, notNullValue());
        
        WebElement testButton = theMissionCard.findElement(By.cssSelector("button[id*='testButton']"));
        assertThat(testButton, notNullValue());
        
        GrowlVerifier.verifyAndWaitToDisappear(20, testButton, "Mission Status Updated", "Mission Test");
    }
/**
     * Function to execute a test for a mission specified by name.
     * @param driver
     *  the web driver that is to be used
     * @param missionName
     *  the name of the mission that the test should be executed on
     */
Function to execute a test for a mission specified by name.
@param driver
the web driver that is to be used
@param missionName
the name of the mission that the test should be executed on
Function to execute a test for a mission specified by name . @param driver the web driver that is to be used @param missionName the name of the mission that the test should be executed on
public static void executeTestOnMission(final WebDriver driver, final String missionName)
    {
        WebElement theMissionCard = MissionHelper.findCorrectRunningMissionCard(driver, missionName);
        assertThat(theMissionCard, notNullValue());
        WebElement testButton = theMissionCard.findElement(By.cssSelector("button[id*='testButton']"));
        assertThat(testButton, notNullValue());
        GrowlVerifier.verifyAndWaitToDisappear(20, testButton, "Mission Status Updated", "Mission Test");
    }
public static void executeTestOnMission ( final WebDriver driver , final String missionName ) { WebElement theMissionCard = MissionHelper . findCorrectRunningMissionCard ( driver , missionName ) ; assertThat ( theMissionCard , notNullValue ( ) ) ; WebElement testButton = theMissionCard . findElement ( By . cssSelector ( "button[id*='testButton']" ) ) ; assertThat ( testButton , notNullValue ( ) ) ; GrowlVerifier . verifyAndWaitToDisappear ( 20 , testButton , "Mission Status Updated" , "Mission Test" ) ; }
Function to execute a test for a mission specified by name.
Function to execute a test for a mission specified by name .