chore: complete apdex automation tasks#9247
Conversation
…medic/cht-core into complete-apdex-automation-tasks
|
Hey the build finally passed thanks to Diana's contribution - @latin-panda @tatilepizs kindly have a look when you have some time |
latin-panda
left a comment
There was a problem hiding this comment.
Looking good
Please do another check to remove all unused code and unused files, just to leave this nice and tidy
tatilepizs
left a comment
There was a problem hiding this comment.
Thank you Rafa for updating the tests ⭐
I left a couple of suggestions, and have one question.
Maybe I am a little late on this, but is there a specific reason why you decided to add a page-objects folder inside the apdex-score/test folder instead of adding a apdex folder inside the page-objects folders that we already have?
I think it will be better to have all the page objects files in one place as we are doing with all the other tests suites.
|
Thanks for the comments and suggestions @tatilepizs I'll have a look and see if the recommendations can fit in |
|
@tatilepizs In order not to delay the apdex tasks completion work I'd suggest we include these structural changes in a different/subsequent PR |
|
Ok, that would be fine. but can you please create a ticket to address those changes? if we don't do it we will probably will forget and those e2e tests will start growing and then it will be harder to make those changes. |
|
Sure this has been created to track |
@ralfudx Do you mean this feedback ⬇️ from Tatiana?
If it's just moving files around to another folder and updating imports, let's do it! Because it's not a big coding change. @tatilepizs @ralfudx do you mean something like this? ⬇️ |-tests/ @ralfudx please remember to remove all unused files and code. For example we don't need anymore these files because we use setting files to test different deployments: That leaves us with 1 file only with test cases: |
|
@latin-panda I have removed the unused test files I believe this is the structure @tatilepizs is referring to: Other suggestions include code changes related to selector definition, using a method to capture selectors and also changes to the wdio.conf.js file similar to what was done in cht-form If we intend to do all these changes in this PR I cannot commit to completing this work Tuesday EOD as mentioned in Care Team's Chat We also need to keep in mind that in the future, we may use this project for other types of mobile testing apart from apdex |
@ralfudx, that structure still makes sense to me 👍 I sent you a snippet of the button code here, small & safe change. I didn't have time to help and test the XPATH selector's feedback.
It seems Michael is requesting the entire Apdex work to be merged directly into cht-core by EOD Tuesday, as mentioned in the Care Teams' summary. The intention is to effectively complete this feature that has been open since April . Please don't compromise code and solution quality, and do not let tickets be done later because this is still a manageable size of project and historically we don't retake those tickets in years. |
|
@latin-panda @tatilepizs kindly re-review |
There was a problem hiding this comment.
Thanks for cleaning all that code! 🤩
I just did a quick pass because I'm running out of time, I won't be able to review for the rest of the week, so I'm unblocking this PR and let @tatilepizs continue with the review.
I won't be able to review this week. Unblocking this PR. Letting @tatilepizs to continue with the review.
Co-authored-by: Jennifer Q <66472237+latin-panda@users.noreply.github.com>
tatilepizs
left a comment
There was a problem hiding this comment.
Thank you for all the changes @ralfudx ! ⭐
I left some small changes
|
@tatilepizs all requested changes have now been resolved - kindly have take out some time to review again on Monday thanks for all the feedback |
tatilepizs
left a comment
There was a problem hiding this comment.
It looks good @ralfudx, thank you for all the changes 🌟

Description
Merge test scenario to capture telemetry data for tasks:refresh into apdex-automation-tests branch and clean up code
#142
Code review checklist
Compose URLs
If Build CI hasn't passed, these may 404:
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.