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

OZ-562: Refactored component-specific user actions #88

Merged
merged 11 commits into from
May 10, 2024
Merged

OZ-562: Refactored component-specific user actions #88

merged 11 commits into from
May 10, 2024

Conversation

kdaud
Copy link
Contributor

@kdaud kdaud commented May 7, 2024

Ticket OZ-562

Copy link
Contributor

@mks-d mks-d left a comment

Choose a reason for hiding this comment

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

I like it, much clearer. However it requires further naming refinements.

e2e/tests/keycloak-openmrs-flows.spec.ts Outdated Show resolved Hide resolved
e2e/tests/keycloak-openmrs-flows.spec.ts Outdated Show resolved Hide resolved
@kdaud
Copy link
Contributor Author

kdaud commented May 8, 2024

I'm still debugging the tests to fix the build failures!

@kdaud
Copy link
Contributor Author

kdaud commented May 9, 2024

The PR is ready to go into main.

@kdaud kdaud requested a review from mks-d May 9, 2024 09:44
await homePage.goToClients();
await homePage.selectOpenMRSId()
await keycloack.goToClients();
await keycloack.selectOpenMRSId()
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it be more something like selectOpenMRSClient() to remain in Keycloak's lingo? Or this is UI-driven and there is literally something called ID on the screen?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ActuallyselectOpenMRSClient() would imply something different however, this is UI-driven with a label called client Id on the screen.

await homePage.goToClients();
await homePage.selectSupersetId();
await keycloack.goToClients();
await keycloack.selectSupersetId();
Copy link
Contributor

Choose a reason for hiding this comment

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

Same remark here about "id".

e2e/tests/odoo-openmrs-flows.spec.ts Outdated Show resolved Hide resolved
e2e/tests/odoo-openmrs-flows.spec.ts Outdated Show resolved Hide resolved
e2e/tests/odoo-openmrs-flows.spec.ts Outdated Show resolved Hide resolved
e2e/utils/functions/openmrs.ts Outdated Show resolved Hide resolved
@mks-d mks-d merged commit c2e1ee2 into main May 10, 2024
@kdaud kdaud deleted the OZ-562 branch May 27, 2024 08:57
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