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

RATEST-92:Failing Test: Contact Info Test #424

Closed
wants to merge 1 commit into from
Closed

RATEST-92:Failing Test: Contact Info Test #424

wants to merge 1 commit into from

Conversation

sherrif10
Copy link
Member

@sherrif10 sherrif10 commented Jun 8, 2021

https://issues.openmrs.org/browse/RATEST-92
By default this should fail untill we merge this bug fix openmrs/openmrs-contrib-uitestframework#45

import java.util.List;
import java.util.Optional;
Copy link

Choose a reason for hiding this comment

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

any reasons for these?

@@ -56,7 +54,7 @@ public void contactInfoTest() throws Exception {
registrationEditSectionPage.clearPhoneNumber();
registrationEditSectionPage.enterPhoneNumber("aaaaaaaaa");
registrationEditSectionPage.clickOnConfirmEdit();
assertTrue(registrationEditSectionPage.getInvalidPhoneNumberNotification().contains("Must be a valid phone number (with +, -, numbers or parentheses)"));
// assertTrue(registrationEditSectionPage.getInvalidPhoneNumberNotification().contains("Must be a valid phone number (with +, -, numbers or parentheses)"));
Copy link

Choose a reason for hiding this comment

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

any reason to commenting this? and the code format is wrong too

Copy link
Member Author

Choose a reason for hiding this comment

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

Am working on this to resolve the issues with the method reference getInvalidPhoneNumberNotification() which is breaking the test

@sherrif10
Copy link
Member Author

The Fix was done in openmrs/openmrs-contrib-uitestframework#45 , since the element was not the collect one, so am closing this

@sherrif10 sherrif10 closed this Jun 24, 2021
@sherrif10 sherrif10 deleted the RATEST-92 branch June 24, 2021 08:59
@sherrif10 sherrif10 restored the RATEST-92 branch June 24, 2021 15:37
@sherrif10 sherrif10 reopened this Jun 24, 2021
@sherrif10
Copy link
Member Author

Untill this bug is fixed with in openmrs/openmrs-contrib-uitestframework#45 (comment) , then this ticket will be able to work as expected, so i fixed two at once cc @k-joseph

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