public class ViewPortalHomeSeleniumIT extends AbstractSeleniumTestCase
classLoader, dataSetapplicationContext, loggerapplicationHost, applicationPath, applicationPort, applicationURL, driver, SE_TIMEOUT, wiser| Constructor | Description |
|---|---|
ViewPortalHomeSeleniumIT() |
| Modifier and Type | Method | Description |
|---|---|---|
protected String[] |
getDataSetFiles() |
must make sure, that the order is correct, so no constraints will be
violated.
|
void |
testViewHomePage() |
Verifies the successfull login case with valid login/password.
|
closeDatabase, getDataSource, getProperty, initDatabase, initializeAllLanguages, initializeLocale, onSetUp, onTearDown, resetConfiguration, setDataSourcesetApplicationContextassertElementCountEquals, assertElementCountEquals, assertElementNotPresent, assertElementNotPresent, assertElementPresent, assertElementPresent, assertElementTextEquals, assertElementTextEquals, closeSession, login, seleniumStart, takeSnapShot, waitForPageToLoad, waitForPageToLoadpublic void testViewHomePage()
throws IOException
0. Exit all available http sessions. 1. Login into the system with particular login (admin_test1). 2. Check that "Unassigned Issues" section is present at the page. 3. Check that number of unassigned issues is 2 (as we defined in database before running this test). 4. Check all unassigned issues we expect to be in the system are shown at the page (check them one by one). 5. Check that "Created Issues" section is present at the page. 6. Check that number of created issues is 4 (as we defined in database before running this test). 7. Check all all create issues we expect to be in the system are shown at the page (check them one by one). 8. Check that "Watched Issues" section is present at the page. 9. Check that number of watched items is 0.
IOExceptionprotected String[] getDataSetFiles()
AbstractDependencyInjectionTestgetDataSetFiles in class AbstractDependencyInjectionTestCopyright © 2002–2019 itracker. All rights reserved.