bahmni / bahmni-gauge Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kumarvastav/endtb-functional-tests
Bahmni Automation Test Suite using Gauge Framework
License: Other
This project forked from kumarvastav/endtb-functional-tests
Bahmni Automation Test Suite using Gauge Framework
License: Other
Create a generic ObsToObsFlowSheet similar to ObsDisplayControl. The ObsToObsFlowSheet looks like this
This class should accept WebElement as a constructor. It should expose the below methods
Map<String, List<String>> getValues(){} - The key is the header column name and the List<String> are the values.
The spec step should take the structure similar to what we see on the UI.
Automate the creation of a baseline form for a patient through the UI.
Add a generic test step for ObsDisplayControl. It should be generic for Bahmni
This test case should test the role-based access for Bahmni. The following needs to be verified
ReadMe shouldn't have endtb specific configurations to run specs. The respective implementation folders can have this details.
The StringUtils.setDateTime() method as it is copied and pasted in BaseSpec instead of using it from StringUtils? Please do refactoring around this so that we knowingly introduce the duplicate code.
We should be able to support inactivating the patients as part of TearDown step.
The Bacteriology Results Control looks like this. Create support for it bahmni-gauge-commons like this ObsDisplayControl
This class should accept WebElement as a constructor. It should expose the below methods
Map<String, String> getValues(String resultName){} - The key is the header column name and the String are the values. The resultName denotes the various results like Smear Microscopy Test Results, Xpert Test Results
We should not be putting passwords in plain text in the specs as we check-in the files to the github. We should store these passwords either as CSV file (managed internally in an environment without checking-in) or as environment variables (manage as secure variables in gocd).
Steps like this should be avoided - Login with username "superman" and password "Admin12345"
To test some display controls on the patient dashboard, its often handy to save the form using an API. It saves time for test execution as well.
Create a gauge step for creating any form using REST Services
void saveObservationForm(String ftlTemplateName, BahmniForm form)
create the form using api
The ObsDisplayControl is currently created for endTB. It needs to be generalized for the product.
After running the instructions given in this repo : https://github.com/Bahmni/bahmni-gauge all tests fails ๐ฆ I've been trying all day long but it keeps appearing the same error message. The error start since the first login step : Error Message: java.lang.ExceptionInInitializerError
I've been investigating and that error is due to a wrong initialization in a static variable.
Can anyone help me with this please ?.
The drug-order-details display control looks like this.
Create support for it bahmni-gauge-commons like this ObsDisplayControl
This class should accept WebElement as a constructor. It should expose the below methods
Map<String, List<String>> getValues(){} - The key is the header column name and the List<String> are the values.
WaitForElement needs refactoring in order to define better synchronization across pages
The Drug-O-Gram looks like this. Create support for it bahmni-gauge-commons like this ObsDisplayControl
This class should accept WebElement as a constructor. It should expose the below methods
Map<String, List<String>> getValues(){} - The key is the header column name and the List<String> are the values.
Add support for adding multiple Drugs in one API call
createDrugOrders(List<DrugOrder> drugOrders) - Creates the drug orders using EMRAPI
Add support for adding bacteriology sample using API.
Support for sanity tests in various environments. Add the sanity tag to these testcases so that it can be run on multiple environments
This story is linked to 17.
The Forms Edit Display Control looks like this. Create support for it bahmni-gauge-commons like this ObsDisplayControl
This class should accept WebElement as a constructor. It should expose the below methods
List getValues(){} - Returns the list of forms that are configured on the display control.
Future enhancements could be based on the edit part of the display control. It is out of scope for this card.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.