-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analysis Tools - Implemented 11 test cases FOR ACT24 #392
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Please review the comments. Thanks!
@Then("Verify the title of the ACT24 website home page is {string}") | ||
public void verify_the_title_of_the_act24_website_home_page_is(String ResearcherPageTitle) { | ||
assertThat(PlaywrightUtils.page).hasTitle(ResearcherPageTitle); | ||
} | ||
|
||
@Then("User logout from the ACT24 website") | ||
public void user_logout_from_the_act24_website() { | ||
PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.logoutLocator).click(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Javadoc
@Then("User clicks on the study staff button of the searched study") | ||
public void user_clicks_on_the_study_staff_button_of_the_searched_study() { | ||
PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.studyStaff).click(); | ||
} | ||
|
||
@Then("Validate user is on the study staff menu tab in the researcher website") | ||
public void validate_user_is_on_the_study_staff_menu_tab_in_the_researcher_website() { | ||
assertThat(PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.studyStaffMenuTab)).containsText("Study Staff"); | ||
} | ||
|
||
@Given("User clicks on the my account menu tab in the act24 researcher website") | ||
public void user_clicks_on_the_my_account_menu_tab_in_the_act24_researcher_website() { | ||
PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.myAccount).click(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Javadoc
ACT24ResearcherPlaywrightStepImpl.verifyEmailAddress(emailInMyAccount); | ||
} | ||
|
||
@Then("User clicks on the edit study button of the created study") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Javadoc
@Then("User clicks on the save changes button and details are getting edited") | ||
public void user_clicks_on_the_save_changes_button_and_details_are_getting_edited() { | ||
PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.submitCreatedStudy).click(); | ||
} | ||
|
||
@Then("User clicks on the analytics data for the created study") | ||
public void user_clicks_on_the_analytics_data_for_the_created_study() { | ||
PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.analyticsData).click(); | ||
} | ||
|
||
@And("User clicks on the clear button") | ||
public void user_clicks_on_the_clear_button() { | ||
PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.clearButton).click(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Javadoc
@Then("User clicks on the search button on the analytics data menu tab") | ||
public void user_clicks_on_the_search_button_on_the_analytics_data_menu_tab() { | ||
PlaywrightUtils.page.locator(ACT24ResearcherPortalPlaywrightPage.searchAnalyticsButton).click(); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing Javadoc
Analysis Tools - Implemented 11 test cases FOR ACT24