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