Search in sources :

Example 51 with AppUrl

use of teammates.common.util.AppUrl in project teammates by TEAMMATES.

the class AdminAccountDetailsPageUiTest method testContent.

private void testContent() throws Exception {
    ______TS("content: typical page");
    AppUrl detailsPageUrl = createUrl(Const.ActionURIs.ADMIN_ACCOUNT_DETAILS_PAGE).withInstructorId("AAMgtUiT.instr2").withUserId(TestProperties.TEST_ADMIN_ACCOUNT);
    detailsPage = loginAdminToPage(detailsPageUrl, AdminAccountDetailsPage.class);
    detailsPage.verifyHtml("/adminAccountDetails.html");
}
Also used : AppUrl(teammates.common.util.AppUrl) AdminAccountDetailsPage(teammates.test.pageobjects.AdminAccountDetailsPage)

Example 52 with AppUrl

use of teammates.common.util.AppUrl in project teammates by TEAMMATES.

the class AdminAccountManagementPageUiTest method loginToAdminAccountsManagementPage.

private void loginToAdminAccountsManagementPage(String instructorIdToShow) {
    AppUrl accountsPageUrl = createUrl(Const.ActionURIs.ADMIN_ACCOUNT_MANAGEMENT_PAGE + "?all=true&googleId=" + instructorIdToShow);
    accountsPage = loginAdminToPage(accountsPageUrl, AdminAccountManagementPage.class);
    accountsPage.waitForAdminAccountsManagementPageToFinishLoading();
    accountsPage.verifyIsCorrectPage();
}
Also used : AppUrl(teammates.common.util.AppUrl) AdminAccountManagementPage(teammates.test.pageobjects.AdminAccountManagementPage)

Aggregations

AppUrl (teammates.common.util.AppUrl)52 Test (org.testng.annotations.Test)7 InstructorCourseEnrollPage (teammates.test.pageobjects.InstructorCourseEnrollPage)6 InstructorStudentListPage (teammates.test.pageobjects.InstructorStudentListPage)6 StudentHomePage (teammates.test.pageobjects.StudentHomePage)6 InstructorAttributes (teammates.common.datatransfer.attributes.InstructorAttributes)4 StudentAttributes (teammates.common.datatransfer.attributes.StudentAttributes)3 InstructorCourseDetailsPage (teammates.test.pageobjects.InstructorCourseDetailsPage)3 InstructorCourseStudentDetailsEditPage (teammates.test.pageobjects.InstructorCourseStudentDetailsEditPage)3 InstructorHomePage (teammates.test.pageobjects.InstructorHomePage)3 Stopwatch (teammates.client.scripts.util.Stopwatch)2 AdminHomePage (teammates.test.pageobjects.AdminHomePage)2 InstructorCourseStudentDetailsViewPage (teammates.test.pageobjects.InstructorCourseStudentDetailsViewPage)2 InstructorCoursesPage (teammates.test.pageobjects.InstructorCoursesPage)2 InstructorFeedbackResultsPage (teammates.test.pageobjects.InstructorFeedbackResultsPage)2 InstructorFeedbackSessionsPage (teammates.test.pageobjects.InstructorFeedbackSessionsPage)2 InstructorStudentRecordsPage (teammates.test.pageobjects.InstructorStudentRecordsPage)2 StudentCourseDetailsPage (teammates.test.pageobjects.StudentCourseDetailsPage)2 BlobInfo (com.google.appengine.api.blobstore.BlobInfo)1 BlobKey (com.google.appengine.api.blobstore.BlobKey)1