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.aspx
page- Create New Intake Form
- Release to QR
p11_QR_Review.aspx
page- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Charge Error
- Send to BO
BO_Review.aspx
page- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspx
page- Resolve Error, add comment
- Finalize
Normal Audit Flow Pending
p11_IntakeForm.aspx
page- Create New Intake Form
- Release to QR
p11_QR_Review.aspx
page- 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.aspx
page- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspx
page- Resolve Error, add comment
- Finalize
Hold Option
p11_IntakeForm.aspx
page- Create New Intake Form
- Release to QR
p11_QR_Review.aspx
page- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Charge Error
- Send to BO
BO_Review.aspx
page- Add comments
- Hold error
- Unhold error
- Send to QR Recheck
p11_QR_Recheck.aspx
page- Add comment
- Hold Error
- Unhold Error
- Finalize
SME Rebuttal Flow
p11_IntakeForm.aspx
page- Create New Intake Form
- Release to QR
p11_QR_Review.aspx
page- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Charge Error
- Send to BO
BO_Review.aspx
page- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspx
page- Resolve Error, add comment
- Finalize
BO_Review.aspx
page- BO open closed audit SME rebuttal request
BM_Review.aspx
page- BM approves BO's SME Rebuttal request
SME_Review.aspx
page *
SME Question
p11_IntakeForm.aspx
page- Create New Intake Form
- Release to QR
p11_QR_Review.aspx
page- Get Next Intake Form
- Setup Checklist
- Submit Checklist
- QR 1st Review
- Ask SME Question
p11_SME_QA_Journal.aspx
page- Answer SME Question, Send back to QR
p11_QR_Review.aspx
page- Confirm SME Question
- Charge Error
- Send to BO
BO_Review.aspx
page- Agree to Error, add comment
- Send to QR Recheck
p11_QR_Recheck.aspx
page- Resolve Error, add comment
- Finalize