diff --git a/testing/test-scripts/dev/claim/claim-test-script-nefba-p2.json b/testing/test-scripts/dev/claim/claim-test-script-nefba-p2.json index 32aeb8f8..bd28cdc2 100644 --- a/testing/test-scripts/dev/claim/claim-test-script-nefba-p2.json +++ b/testing/test-scripts/dev/claim/claim-test-script-nefba-p2.json @@ -1,4 +1,4 @@ -{ +{ I broke this test script :-))) for fun demo, "name": "Claim - NEFBA P2 - Test Script", "testSteps" : [ { "action" : "open-new-tab", "url": "https://af-pods-dev.powerappsportals.com/my-claims" } diff --git a/testing/test-scripts/dev/claim/leo-demo-testscript.json b/testing/test-scripts/dev/claim/leo-demo-testscript.json new file mode 100644 index 00000000..758aacbc --- /dev/null +++ b/testing/test-scripts/dev/claim/leo-demo-testscript.json @@ -0,0 +1,70 @@ +{ + "name": "Leo Demo Claim - NEFBA P2 - Test Script", + "testSteps": [ + { + "action": "open-new-tab", + "url": "https://af-pods-dev.powerappsportals.com/my-claims" + }, + { + "action": "find-list-item", + "techNotes": "labels the fields element below indicate the headers of the list/table", + "fields": [ + { + "label": "Program", + "value": "New Entrant Farm Business Accelerator Phase 2", + "visible": true + }, + { + "label": "Claim Status", + "value": "Draft", + "visible": true + }, + { + "label": "Actions", + "type": "action menu", + "value": "Edit / Submit Claim", + "action": "Click the link" + } + ], + "description": "My Claims list should display a DRAFT NEFBA P2 Claim with a link to EDIT it." + }, + { + "action": "Expect", + "field": { + "label": "I / We confirm the above information is correct", + "visible": true, + "required": true + } + }, + { + "action": "Expect", + "field": { + "label": "Please provide further detail", + "visible": false + } + }, + { + "action": "Select", + "field": { + "label": "I / We confirm the above information is correct", + "value": "No" + } + }, + { + "action": "Expect", + "field": { + "label": "Please provide further detail", + "visible": true, + "required": true + } + }, + { + "action": "Select", + "field": { + "label": "I / We confirm the above information is correct", + "value": "Yes" + } + } + , { "action" : "Click on the Next button.", "description" : "Go to the Project Results step by clicking Next button." } + ] +}