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-108: Fix Travis failure on reference application ui-tests module #340
Conversation
@kdaud our role now will be revisiting the tests ignored for each file so as to have them remotely passing |
I don't think we have failing tests to ignore, https://github.com/openmrs/openmrs-distro-referenceapplication/tree/master/ui-tests |
master should be passing, https://travis-ci.org/github/openmrs/openmrs-contrib-qaframework/branches |
For the different tests we have been making, travis has been breaking with a list of tests that have been ignored in this pr |
I agree. This suggestively means prioritizing on resurrecting these tests. cc: @kaweesi
Actually testing them locally without ignore annotation in the dev environment, these tests fail. @HerbertYiga do you mind testing any of these and running it as JUnit test within the IDE and share the experience |
ensure u are using the same dataset, these tests and tied into a dataset, for-example searching a patient by name you don't have locally would fail the find patient test |
@kdaud try running NamePatientAccentedLetterTes it runs well at my side |
And to add on this, the tests first see the data you have in your local instance before picking up on their own created data set,for example removing the patients in your local instance will make sure that the tests use their own data sets for a given patient @kdaud i will explain more of this on the quick call you requested |
|
@kdaud do you have any patient existing in your local instance |
Definitely here is the catch from my side then. However, how is this achievable. @HerbertYiga |
Hope you mean local server that is sited on my pc. If this is true, I have some patients registered already |
what i do is that i dont leave any data in my instance,ie i delete the existing patient and rely on data sets from the testing classes |
#340 (comment) |
@kdaud some feedback for you. Does that make sense? |
Thanks @gracepotma !!. Actually this PR came as a result of this talk post as we thought to be a temporal solution to failing jobs that qa contributors were encountering with the module. However, @kaweesi gave directives to address the concern rather than this pr |
I agree |
@@ -36,6 +36,7 @@ public void setup() { | |||
createTestVisit(); | |||
} | |||
|
|||
@Test | |||
@Ignore | |||
@Category(BuildTests.class) | |||
public void AddDiagnosisToVisitNoteTest() { |
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.
I detect that this code is problematic. According to the Bad practice (BAD_PRACTICE), Nm: Method names should start with a lower case letter (NM_METHOD_NAMING_CONVENTION).
Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized.
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.
I detect that this code is problematic. According to the Bad practice (BAD_PRACTICE), Nm: Method names should start with a lower case letter (NM_METHOD_NAMING_CONVENTION).
Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized.
@lyndseyBeil Thanks for this cache. Its a good idea if you create a ticket for this and go a head to work on it. cc: @gracepotma
Ticket ID: https://issues.openmrs.org/browse/RATEST-108
Description:
Fixed travis failure on reference application ui-tests module