public class ViewPortalHomeSeleniumIT extends AbstractSeleniumTestCase
classLoader, dataSet
applicationContext, logger
applicationHost, 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, setDataSource
setApplicationContext
assertElementCountEquals, assertElementCountEquals, assertElementNotPresent, assertElementNotPresent, assertElementPresent, assertElementPresent, assertElementTextEquals, assertElementTextEquals, closeSession, login, seleniumStart, takeSnapShot, waitForPageToLoad, waitForPageToLoad
public 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.
IOException
protected String[] getDataSetFiles()
AbstractDependencyInjectionTest
getDataSetFiles
in class AbstractDependencyInjectionTest
Copyright © 2002–2022 itracker. All rights reserved.