mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/webapp/advanced/TestSystemBundleConfiguration.java
public void assertStopBundle() throws InterruptedException
    {           
        WebDriverWait wait = new WebDriverWait(m_Driver, 20);
        
        BundleManagerUtil.stopBundle(m_Driver, m_ExampleMetaTypeBundle);
        
        wait.until(ExpectedConditions.textToBePresentInElementLocated(By.cssSelector(
                "tbody[id*='bundleTable_data']>tr>td:first-child+td+td>div>span"), "Resolved"));
        
        WebElement bundleTable = m_Driver.findElement(By.cssSelector("tbody[id*='bundleTable_data']"));
        WebElement bundleState = bundleTable.findElements(By.tagName("span")).get(3);
        assertThat(bundleState.getText(), is("Resolved"));
    }
/**
     * Test stopping an active bundle.
     * Verify that the bundle status changes to resolved.
     */
Test stopping an active bundle.
Verify that the bundle status changes to resolved.
Test stopping an active bundle . Verify that the bundle status changes to resolved .
public void assertStopBundle() throws InterruptedException
    {           
        WebDriverWait wait = new WebDriverWait(m_Driver, 20);
        BundleManagerUtil.stopBundle(m_Driver, m_ExampleMetaTypeBundle);
        wait.until(ExpectedConditions.textToBePresentInElementLocated(By.cssSelector(
                "tbody[id*='bundleTable_data']>tr>td:first-child+td+td>div>span"), "Resolved"));
        WebElement bundleTable = m_Driver.findElement(By.cssSelector("tbody[id*='bundleTable_data']"));
        WebElement bundleState = bundleTable.findElements(By.tagName("span")).get(3);
        assertThat(bundleState.getText(), is("Resolved"));
    }
public void assertStopBundle ( ) throws InterruptedException { WebDriverWait wait = new WebDriverWait ( m_Driver , 20 ) ; BundleManagerUtil . stopBundle ( m_Driver , m_ExampleMetaTypeBundle ) ; wait . until ( ExpectedConditions . textToBePresentInElementLocated ( By . cssSelector ( "tbody[id*='bundleTable_data']>tr>td:first-child+td+td>div>span" ) , "Resolved" ) ) ; WebElement bundleTable = m_Driver . findElement ( By . cssSelector ( "tbody[id*='bundleTable_data']" ) ) ; WebElement bundleState = bundleTable . findElements ( By . tagName ( "span" ) ) . get ( 3 ) ; assertThat ( bundleState . getText ( ) , is ( "Resolved" ) ) ; }
Test stopping an active bundle.
Test stopping an active bundle .