Protractor Guide
Table of Contents
Overview
How to run automated tests of P11 workflow with Protractor
npm install
Protractor Installation
In _protractor folder, run npm install
npm test
In _protractor folder, find config.js file
List of Inspection Types javaScript files are shown which can be found in tsts folder
Open git bash and navigate to the _protractor sub folder in git bash
Type: npm test to run automated testing
Tests
List of Tests Run
Normal Audit Flow
p11_IntakeForm.aspxpage- Create New Intake Form
- Release to QR
p11_QR_Review.aspxpage- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Charge Error
- Send to BO
BO_Review.aspxpage- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspxpage- Resolve Error, add comment
- Finalize
Normal Audit Flow Pending
p11_IntakeForm.aspxpage- Create New Intake Form
- Release to QR
p11_QR_Review.aspxpage- Get Next Intake Form
- Setup Checklist
- Pend, Unpend from Checklist Setup
- Submit Checklist
- QR 1st Review
- Pend before charging errors
- Charge Error
- Pend after charging errors
- Send to BO
BO_Review.aspxpage- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspxpage- Resolve Error, add comment
- Finalize
Hold Option
p11_IntakeForm.aspxpage- Create New Intake Form
- Release to QR
p11_QR_Review.aspxpage- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Charge Error
- Send to BO
BO_Review.aspxpage- Add comments
- Hold error
- Unhold error
- Send to QR Recheck
p11_QR_Recheck.aspxpage- Add comment
- Hold Error
- Unhold Error
- Finalize
SME Rebuttal Flow
p11_IntakeForm.aspxpage- Create New Intake Form
- Release to QR
p11_QR_Review.aspxpage- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Charge Error
- Send to BO
BO_Review.aspxpage- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspxpage- Resolve Error, add comment
- Finalize
BO_Review.aspxpage- BO open closed audit SME rebuttal request
BM_Review.aspxpage- BM approves BO's SME Rebuttal request
SME_Review.aspxpage *
SME Question
p11_IntakeForm.aspxpage- Create New Intake Form
- Release to QR
p11_QR_Review.aspxpage- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Ask SME Question
p11_SME_QA_Journal.aspxpage- Answer SME Question, Send back to QR
p11_QR_Review.aspxpage- Confirm SME Question
- Charge Error
- Send to BO
BO_Review.aspxpage- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspxpage- Resolve Error, add comment
- Finalize