mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/webapp/base/TestGUIOptionsNavigation.java
@Test
    public void testAddMissionAppButton() throws InterruptedException
    {
        NavigationHelper.navigateToPage(m_Driver, NavigationButtonNameConstants.NAVBUT_PROP_SETUP_MIS);
       
        Boolean result = (new WebDriverWait(m_Driver, 5)).until(new ExpectedCondition<Boolean>()
        {
            @Override
            public Boolean apply(WebDriver d)
            {
                return d.getCurrentUrl().contains(PageNameConstants.PAGECONST_PROP_MISSION_SETUP);
            }
        });

        assertThat(result, is(true));
    }
/**
     * Tests to see if Mission Apps, Add Mission App button navigates to setup_mission.xhtml
     */
Tests to see if Mission Apps, Add Mission App button navigates to setup_mission.xhtml
Tests to see if Mission Apps Add Mission App button navigates to setup_mission . xhtml
@Test
    public void testAddMissionAppButton() throws InterruptedException
    {
        NavigationHelper.navigateToPage(m_Driver, NavigationButtonNameConstants.NAVBUT_PROP_SETUP_MIS);
        Boolean result = (new WebDriverWait(m_Driver, 5)).until(new ExpectedCondition<Boolean>()
        {
            @Override
            public Boolean apply(WebDriver d)
            {
                return d.getCurrentUrl().contains(PageNameConstants.PAGECONST_PROP_MISSION_SETUP);
            }
        });
        assertThat(result, is(true));
    }
@ Test public void testAddMissionAppButton ( ) throws InterruptedException { NavigationHelper . navigateToPage ( m_Driver , NavigationButtonNameConstants . NAVBUT_PROP_SETUP_MIS ) ; Boolean result = ( new WebDriverWait ( m_Driver , 5 ) ) . until ( new ExpectedCondition < Boolean > ( ) { @ Override public Boolean apply ( WebDriver d ) { return d . getCurrentUrl ( ) . contains ( PageNameConstants . PAGECONST_PROP_MISSION_SETUP ) ; } } ) ; assertThat ( result , is ( true ) ) ; }
Tests to see if Mission Apps, Add Mission App button navigates to setup_mission.xhtml
Tests to see if Mission Apps Add Mission App button navigates to setup_mission . xhtml