Thu Apr 28 2022 00:20:14 GMT-0700 (Pacific Daylight Time)

Given HRS API request 1ms

When I do GET request to /reports 456ms

Then I get Variant response 1ms

And connect to DB to get all rows 1s 275ms

Given HRS API request < 1ms

When I do GET request to /reports for pwn results status APPROVED 335ms

Then I get HRS response with status as APPROVED 1ms

Given HRS API request < 1ms

When I do GET request to /reports for pwn results status SESSION PENDING 343ms

Then I get HRS response with status as ON_HOLD < 1ms

@P1 @US3330 @uiAutoReady @US3921 @smoke @HRS
Scenario:Create order by adding reports using POST call
2 1 1

Given HRS API request < 1ms

When I do POST v1 reports 5s 435ms Show Error +
                                            
TypeError: Cannot read property 'status' of undefined at World.(anonymous) (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\steps\HealthResultsServiceAPI.step.ts:91:64) at step (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\steps\HealthResultsServiceAPI.step.ts:32:23) at Object.next (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\steps\HealthResultsServiceAPI.step.ts:13:53) at fulfilled (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\steps\HealthResultsServiceAPI.step.ts:4:58) at processTicksAndRejections (internal/process/task_queues.js:95:5)

Then labreport gets created with correct response 0s

After 37ms Screenshot +
                                        
                                        
                                

@P1 @US5379 @uiAutoReady @smoke @HRS
Scenario:Delete the created report of HRS POST
3 1

Given HRS API request < 1ms

When I do DELETE should delete the existing record with HRS POST 323ms

Then I get success response 3ms Show Error +
                                            
AssertionError [ERR_ASSERTION]: test failed: false at Object.(anonymous) (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\node_modules\quest-global\dist\index.js:467:32) at Generator.next ((anonymous)) at C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\node_modules\quest-global\dist\index.js:8:71 at new Promise ((anonymous)) at __awaiter (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\node_modules\quest-global\dist\index.js:4:12) at Object.verifyFailOnError (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\node_modules\quest-global\dist\index.js:456:12) at ApiAutomated.(anonymous) (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\api\apiAutomated.ts:101:29) at step (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\api\apiAutomated.ts:32:23) at Object.next (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\api\apiAutomated.ts:13:53) at C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\api\apiAutomated.ts:7:71 at new Promise ((anonymous)) at __awaiter (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\api\apiAutomated.ts:3:12) at ApiAutomated.verifyresponse (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\api\apiAutomated.ts:226:16) at World.(anonymous) (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\steps\HealthResultsServiceAPI.step.ts:104:25) at step (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\steps\HealthResultsServiceAPI.step.ts:32:23) at Object.next (C:\Users\sunitha.s.pitla\GitLab\gitlab4282022\gss\API\e2e\steps\HealthResultsServiceAPI.step.ts:13:53)

After 37ms Screenshot +