US-EPA-CAMD / easey-testing

EASEY Test Automation
https://epa.gov/airmarkets
MIT License
3 stars 0 forks source link

MP Export Test Automation (Global view) v1.0 #191

Closed JanellC closed 1 year ago

JanellC commented 1 year ago

Context

Scope: This ticket is to create a test script to automate the UI functionality for export

Create a test script to Export a MP for the Global view (non Logged in)

Utilize the following: Facility: Gadsden, 1,2, CS0BAN

Below is the export endpoint for MP, image.png https://api.epa.gov/easey/dev/monitor-plan-mgmt/swagger/#/Plans/MonitorPlanController_exportMonitorPlan

mackenzieharwood commented 1 year ago

Working on branch MPExportGlobalTest https://github.com/US-EPA-CAMD/easey-testing/tree/MPExportGlobalTest

mackenzieharwood commented 1 year ago

All selections are able to be made, export button is pressed. Next: validate download pop up at bottom of window

mackenzieharwood commented 1 year ago

Facility is selected, goes to export page, validates export title, selects all to download, clicks download Troubleshooting method to validate download

mackenzieharwood commented 1 year ago

Traverses through downloads folder but uses my name folder path(need to replace with something generic). Also need to fix regex for assert statement. Sample Output: image.png

mackenzieharwood commented 1 year ago

Implemented method to set chrome download path to src folder; currently no files get downloaded into it- looking into possible wait time issues or file path issues

JanellC commented 1 year ago

Ticket completed