File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
component-tests/apiGateway-tests Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import { expect , test } from "@playwright/test" ;
2- import { getRestApiGatewayBaseUrl } from "../../helpers/aws-gateway-helper" ;
2+ import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper" ;
33import { MI_ENDPOINT } from "../../constants/api-constants" ;
44import {
55 createHeaderWithNoCorrelationId ,
Original file line number Diff line number Diff line change 11import { expect , test } from "@playwright/test" ;
2- import { getRestApiGatewayBaseUrl } from "../../helpers/aws-gateway-helper" ;
2+ import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper" ;
33import { getLettersBySupplier } from "../../helpers/generate-fetch-test-data" ;
44import { SUPPLIERID , SUPPLIER_LETTERS } from "../../constants/api-constants" ;
55import { createValidRequestHeaders } from "../../constants/request-headers" ;
@@ -12,6 +12,7 @@ let baseUrl: string;
1212
1313test . beforeAll ( async ( ) => {
1414 baseUrl = await getRestApiGatewayBaseUrl ( ) ;
15+ console . log ( `Base URL for API Gateway: ${ baseUrl } ` ) ;
1516} ) ;
1617
1718test . describe ( "API Gateway Tests to Verify Get Letter Status Endpoint" , ( ) => {
Original file line number Diff line number Diff line change 66 createValidRequestHeaders ,
77} from "../../constants/request-headers" ;
88import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper" ;
9- import validateApiResponse from "../../helpers/validate-json-schema" ;
109
1110let baseUrl : string ;
1211
Original file line number Diff line number Diff line change 11import { expect , test } from "@playwright/test" ;
22import { randomUUID } from "node:crypto" ;
33import { SUPPLIERID , SUPPLIER_LETTERS } from "../../constants/api-constants" ;
4- import { getRestApiGatewayBaseUrl } from "../../helpers/aws-gateway-helper" ;
4+ import getRestApiGatewayBaseUrl from "../../helpers/aws-gateway-helper" ;
55import {
66 patch400ErrorResponseBody ,
77 patchFailureRequestBody ,
Original file line number Diff line number Diff line change 99 SUPPLIERID ,
1010 envName ,
1111} from "../constants/api-constants" ;
12- import { runCreateLetter } from "./pnpm-helpers" ;
12+ import runCreateLetter from "./pnpm-helpers" ;
1313
1414const ddb = new DynamoDBClient ( { } ) ;
1515const docClient = DynamoDBDocumentClient . from ( ddb ) ;
You can’t perform that action at this time.
0 commit comments