Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sgugulothu
Copy link
Collaborator

Analysis Tools - Implemented 11 test cases FOR ACT24

Copy link
Collaborator

@hamidnesar hamidnesar left a 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!

Comment on lines +35 to +43
@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();
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing Javadoc

Comment on lines +142 to +155
@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();
}
Copy link
Collaborator

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")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing Javadoc

Comment on lines +180 to +193
@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();
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing Javadoc

Comment on lines +203 to +207
@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();
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing Javadoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants