Package io.meeds.qa.ui.pages
Class UserProfilePage
java.lang.Object
net.serenitybdd.core.pages.PageObject
net.thucydides.core.pages.PageObject
io.meeds.qa.ui.pages.BasePageImpl
io.meeds.qa.ui.pages.GenericPage
io.meeds.qa.ui.pages.UserProfilePage
- All Implemented Interfaces:
BasePage
-
Nested Class Summary
Nested classes/interfaces inherited from class net.serenitybdd.core.pages.PageObject
net.serenitybdd.core.pages.PageObject.FieldEntry, net.serenitybdd.core.pages.PageObject.OpenWithParams, net.serenitybdd.core.pages.PageObject.WaitingBuilder -
Field Summary
Fields inherited from class io.meeds.qa.ui.pages.BasePageImpl
GIF_IMAGE, LOGGER, OPENED_DRAWER_CSS_SELECTOR, OPENED_DRAWER_XPATH, PUBLIC_SITE_URL, UPLOAD_DIRECTORY_PATH, url, USER_AVATAR_PNG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWorkExperiences(String organization, String jobTitle, String jobDetails, String usedSkills) voidvoidvoidvoidcheckMyPointIncrease(int originalWeeklyPoint) voidvoidvoidvoidcheckProfileContactCompanyVisible(String company) voidvoidcheckProfileContactFullNameVisible(String title, String fullName) voidcheckProfileContactInstantMessagingVisible(String instantMessagingType, String instantMessaging) voidvoidcheckProfileContactPhoneVisible(String phoneType, String phone) voidcheckProfileContactUrlVisible(String profileUrl) voidcheckWorkExperiencesSection(String jobTitle, String organization, String jobDetails, String usedSkills) voidintvoidvoidvoidvoidreceivedKudosSectionIsDisplayed(String kudosNumber) voidvoidremoveWorkExperience(String jobTitle) voidselectInstantMessagingType(String instantMessagingType) voidselectPhoneType(String phoneType) voidsentKudosSectionIsDisplayed(String kudosNumber) voidvoidupdateBasicInformation(String firstName, String lastName, String email, String job) voidupdateContactOtherInformations(String company, String phoneType, String phone, String instantMessagingType, String instantMessaging, String url) voiduploadProfileAvatar(String fileName) Methods inherited from class io.meeds.qa.ui.pages.GenericPage
addTranslationValues, checkConfirmMessageIsDisplayed, checkDrawerDisplayed, checkInformationMessageDisplayed, checkMessageIsDisplayed, checkMessageIsDisplayedInPage, checkMessageIsNotDisplayed, checkMessageIsNotDisplayedInPage, checkSuccessMessageDisplayed, checkSwitchButtonDisplayed, checkSwitchButtonNotDisplayed, checkTranslationButtonIsNotPrimary, checkTranslationButtonIsPrimary, clickConfirm, clickOnApplicationFilterButton, closeBrowserTab, containsContent, enableSwitchButtonDisplayed, getDrawerExpandButton, getWidgetSeeAllButton, goToPage, isButtonDisplayed, isPageOpened, openTranslationsDrawer, sortTableByField, switchPageLanguageMethods inherited from class io.meeds.qa.ui.pages.BasePageImpl
attachFileInput, attachGifImageToCKeditor, attachImageToCKeditor, attachImageToCKeditor, attachImageToFileInput, attachImageToFileInput, attachImageToOpenedDrawer, buttonInDrawerIsDisabled, buttonInDrawerIsDisplayed, buttonInDrawerIsEnabled, buttonInDrawerIsNotDisplayed, buttonIsDisabled, buttonIsEnabled, clickButton, clickButton, clickDrawerButton, clickLink, clickMenuItem, clickOnElement, clickOnGoBack, clickOnGoBackInDrawer, clickOnText, clickSelecdLevelDrawerButton, clickToCancelDialog, clickToConfirmDialog, closeAlertIfOpened, closeAllDialogs, closeAllDrawers, closeConfirmDialogIfDisplayed, closeDrawerIfDisplayed, closeMenu, closeToastNotification, expandDrawer, expandDrawerButton, findButtonByXPathOrCSS, findByXPathOrCSS, findTextBoxByXPathOrCSS, findTextByXPathOrCSS, getButton, getButton, getCurrentUrl, getDrawerButton, getLink, getMenuItem, getSelecdLevelDrawerButton, getText, isMenuDisplayed, mentionInField, mentionUserInCKEditor, notificationContentElement, notificationContentElement, openedDialogElement, openedDrawerElement, pageProgressBar, pressEscape, verifyPageLoaded, waitCKEditorLoading, waitCKEditorLoading, waitDrawerCKEditorLoading, waitForDrawerToClose, waitForDrawerToClose, waitForDrawerToLoad, waitForDrawerToOpen, waitForDrawerToOpen, waitForDrawerToOpen, waitForDrawerToOpen, waitForDrawerToOpen, waitForMenuToClose, waitForMenuToOpen, waitForProgressBar, waitForProgressBar, waitMenuToDisplayMethods inherited from class net.serenitybdd.core.pages.PageObject
$, $, $, $, $, $, $$, $$, $$, addJQuerySupport, blurActiveElement, callWhenPageOpensMethods, clickOn, compatibleWithUrl, containsAllText, containsElements, containsElements, containsText, containsTextInElement, driverIsInstantiated, driverIsJQueryCompatible, element, element, element, enableJQuery, enter, evaluateAsyncJavascript, evaluateAsyncJavascript, evaluateJavascript, evaluateJavascript, find, find, find, find, find, find, findAll, findAll, findAll, findAll, findAll, findBy, findBy, findEach, findEach, findEach, findEach, findEach, findEach, findFirst, findFirst, findFirst, findNested, findNested, findNestedElements, fluent, fromSearchContext, getAlert, getClock, getDevTools, getDriver, getImplicitWaitTimeout, getJavascriptExecutorFacade, getRenderedView, getSelectedLabelFrom, getSelectedOptionLabelsFrom, getSelectedOptionValuesFrom, getSelectedValueFrom, getTitle, getWaitForElementTimeout, getWaitForTimeout, hasDevTools, hasFocus, implicitTimoutMilliseconds, inRadioButtonGroup, isElementVisible, isRelative, matchesAnyUrl, maybeGetDevTools, moveTo, moveTo, navigateToPageNamed, open, open, open, open, openAt, openPageNamed, openUnchecked, openUnchecked, openUnchecked, openUrl, resetImplicitTimeout, selectFromDropdown, selectMultipleItemsFromDropdown, setCheckbox, setDefaultBaseUrl, setDriver, setDriver, setImplicitTimeout, setPages, setPageUrls, setWaitForElementTimeout, setWaitForTimeout, shouldBeDisplayed, shouldBeVisible, shouldBeVisible, shouldContainAllText, shouldContainText, shouldContainTextInElement, shouldNotBeVisible, shouldNotBeVisible, shouldNotContainTextInElement, switchToPage, textContentOf, textContentOf, textContentOf, textContentOf, textOf, textOf, textOf, textOf, thenReturnElementList, toString, typeInto, updateUrlWithBaseUrlIfDefined, upload, uploadData, uploadData, waitABit, waitFor, waitFor, waitFor, waitFor, waitFor, waitFor, waitFor, waitForAbsenceOf, waitForAbsenceOf, waitForAllTextToAppear, waitForAngularRequestsToFinish, waitForAnyRenderedElementOf, waitForAnyTextToAppear, waitForAnyTextToAppear, waitForCondition, waitForElement, waitForPresenceOf, waitForRenderedElements, waitForRenderedElementsToBePresent, waitForRenderedElementsToDisappear, waitForTextToAppear, waitForTextToAppear, waitForTextToAppear, waitForTextToDisappear, waitForTextToDisappear, waitForTextToDisappear, waitForTimeoutInMilliseconds, waitForTitleToAppear, waitForTitleToDisappear, waitForWithRefresh, waitingForNoLongerThan, waitingForNoLongerThan, waitOnPage, withAction, withDriver, withParameters, withTimeoutOf, withTimeoutOf, withTimeoutOf
-
Constructor Details
-
UserProfilePage
public UserProfilePage(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
addWorkExperiences
-
checkAvatarVisible
public void checkAvatarVisible() -
checkCoverVisible
public void checkCoverVisible() -
checkGainedCaurisVisible
public void checkGainedCaurisVisible() -
checkProfileAvatarUploaded
public void checkProfileAvatarUploaded() -
checkProfileContactCompanyVisible
-
checkProfileContactEmailVisible
-
checkProfileContactFullNameVisible
-
checkProfileContactInstantMessagingVisible
-
checkProfileContactJobTitleVisible
-
checkProfileContactPhoneVisible
-
checkProfileContactUrlVisible
-
checkWorkExperiencesSection
-
clickOnSendKudosBtn
public void clickOnSendKudosBtn() -
getMyWeeklyPoint
public int getMyWeeklyPoint() -
goToReceivedKudos
public void goToReceivedKudos() -
goToSentKudos
public void goToSentKudos() -
howToEarnPointsPageIsDisplayed
public void howToEarnPointsPageIsDisplayed() -
receivedKudosSectionIsDisplayed
-
checkNoSentKudos
public void checkNoSentKudos() -
checkNoReceivedKudos
public void checkNoReceivedKudos() -
receivedKudosUsersSectionIsDisplayed
-
removeWorkExperience
-
selectInstantMessagingType
-
selectPhoneType
-
sentKudosSectionIsDisplayed
-
sentKudosUsersSectionIsDisplayed
-
updateBasicInformation
-
updateContactOtherInformations
-
uploadProfileAvatar
-
checkMyPointIncrease
public void checkMyPointIncrease(int originalWeeklyPoint)
-