bcgov / digital-journeys

PSA Forms System
https://bcgov.github.io/digital-journeys/
Apache License 2.0
8 stars 7 forks source link

Mat/Pat - Selenium Other Scenario - Deferred leave #1879

Open fazil-ey opened 2 months ago

fazil-ey commented 2 months ago

Flow - Maternity + Standard parental leave + Deferred Allowance + Supervisor approval AC

fazil-ey commented 1 month ago

Link to script - https://bcgov.sharepoint.com/:u:/r/teams/03991/Shared%20Documents/General/Selenium/Selenium%20Scripts/Maternity%20Parental%20L%26A/DeferredLeave_1879.side?csf=1&web=1&e=T5GfHv

fazil-ey commented 1 month ago

@MikePSA Can you peer review this script?

MikePSA commented 1 month ago

After testing, some potential improvements to the script are: • Clean up disabled commands • Use search function for the Maternity/Parental form and relocate “Start new” button • Missing confirm employee information is required checkbox? • Stops at if/click Saturday checkbox sometimes • Something going on with the dates after I edit the script? (But I didn’t change date commands) need to discuss • Near the end of script, delete the command "click on success intro" as it should be wait for element after approval • Observed 60 seconds not long enough to generate new Mat form in review and process, may need to extend wait time

fazil-ey commented 1 month ago

@ayushdamani to test

ayushdamani commented 1 month ago

Script worked great! I just had to increase the duration between clicks, while moving from one action to another! Moving to PO!

ayushdamani commented 3 weeks ago

Tested again - thanks Fazil!