@@ -45,10 +45,11 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
4545 const { apiContext, afterAction } = await createNewPage ( browser ) ;
4646
4747 for ( let i = 1 ; i <= 20 ; i ++ ) {
48+ const uniqueId = uuid ( ) ;
4849 const user = new UserClass ( {
49- firstName : `pw_pagination_User${ i } ` ,
50- lastName : `LastName${ i } ` ,
51- email : `pw_pagination_user${ i } @example.com` ,
50+ firstName : `pw_pagination_User${ uniqueId } ` ,
51+ lastName : `LastName${ uniqueId } ` ,
52+ email : `pw_pagination_user${ uniqueId } @example.com` ,
5253 password : 'User@OMD123' ,
5354 } ) ;
5455
@@ -79,12 +80,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
7980 } ) ;
8081
8182 test . describe ( 'Database Schema Tables page pagination' , ( ) => {
82- const database = new DatabaseClass ( ) ;
83+ let database : DatabaseClass ;
8384 let schemaFqn : string ;
8485
8586 test . beforeAll ( async ( { browser } ) => {
8687 const { apiContext, afterAction } = await createNewPage ( browser ) ;
8788
89+ database = new DatabaseClass ( ) ;
8890 await database . create ( apiContext ) ;
8991 schemaFqn = database . schemaResponseData . fullyQualifiedName ;
9092
@@ -144,12 +146,14 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
144146 } ) ;
145147
146148 test . describe ( 'Table columns page pagination' , ( ) => {
147- const database = new DatabaseClass ( ) ;
149+ let database : DatabaseClass ;
148150 let tableFqn : string ;
149151
150152 test . beforeAll ( async ( { browser } ) => {
151153 const { apiContext, afterAction } = await createNewPage ( browser ) ;
152154
155+ database = new DatabaseClass ( ) ;
156+
153157 const columns = [ ] ;
154158 for ( let i = 1 ; i <= 60 ; i ++ ) {
155159 columns . push ( {
@@ -206,10 +210,11 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
206210 } ) ;
207211
208212 test . describe ( 'Service Databases page pagination' , ( ) => {
209- const database = new DatabaseClass ( ) ;
213+ let database : DatabaseClass ;
210214 let databaseFqn : string ;
211215 test . beforeAll ( async ( { browser } ) => {
212216 const { apiContext, afterAction } = await createNewPage ( browser ) ;
217+ database = new DatabaseClass ( ) ;
213218 await database . create ( apiContext ) ;
214219 databaseFqn = database . serviceResponseData . fullyQualifiedName ;
215220 for ( let i = 1 ; i <= 20 ; i ++ ) {
@@ -292,10 +297,11 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
292297 } ) ;
293298
294299 test . describe ( 'Pagination tests for Classification Tags page' , ( ) => {
295- const classification = new ClassificationClass ( ) ;
300+ let classification : ClassificationClass ;
296301
297302 test . beforeAll ( async ( { browser } ) => {
298303 const { apiContext, afterAction } = await createNewPage ( browser ) ;
304+ classification = new ClassificationClass ( ) ;
299305 await classification . create ( apiContext ) ;
300306
301307 for ( let i = 1 ; i <= 20 ; i ++ ) {
@@ -427,12 +433,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
427433 } ) ;
428434
429435 test . describe ( 'Pagination tests for API Collection Endpoints page' , ( ) => {
430- const apiCollection = new ApiCollectionClass ( ) ;
436+ let apiCollection : ApiCollectionClass ;
431437 let apiCollectionFqn : string ;
432438
433439 test . beforeAll ( async ( { browser } ) => {
434440 const { apiContext, afterAction } = await createNewPage ( browser ) ;
435441
442+ apiCollection = new ApiCollectionClass ( ) ;
436443 const result = await apiCollection . create ( apiContext ) ;
437444 apiCollectionFqn = result . entity . fullyQualifiedName ;
438445
@@ -483,12 +490,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
483490 } ) ;
484491
485492 test . describe ( 'Pagination tests for Stored Procedures page' , ( ) => {
486- const database = new DatabaseClass ( ) ;
493+ let database : DatabaseClass ;
487494 let schemaFqn : string ;
488495
489496 test . beforeAll ( async ( { browser } ) => {
490497 const { apiContext, afterAction } = await createNewPage ( browser ) ;
491498
499+ database = new DatabaseClass ( ) ;
492500 await database . create ( apiContext ) ;
493501 schemaFqn = database . schemaResponseData . fullyQualifiedName ;
494502
@@ -560,12 +568,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
560568 } ) ;
561569
562570 test . describe ( 'Pagination tests for Database Schemas page' , ( ) => {
563- const database = new DatabaseClass ( ) ;
571+ let database : DatabaseClass ;
564572 let databaseFqn : string ;
565573
566574 test . beforeAll ( async ( { browser } ) => {
567575 const { apiContext, afterAction } = await createNewPage ( browser ) ;
568576
577+ database = new DatabaseClass ( ) ;
569578 await database . create ( apiContext ) ;
570579 databaseFqn = database . entityResponseData . fullyQualifiedName ;
571580
@@ -615,12 +624,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
615624 } ) ;
616625
617626 test . describe ( 'Pagination tests for Dashboard Data Models page' , ( ) => {
618- const dashboardService = new DashboardDataModelClass ( ) ;
627+ let dashboardService : DashboardDataModelClass ;
619628 let serviceFqn : string ;
620629
621630 test . beforeAll ( async ( { browser } ) => {
622631 const { apiContext, afterAction } = await createNewPage ( browser ) ;
623632
633+ dashboardService = new DashboardDataModelClass ( ) ;
624634 await dashboardService . create ( apiContext ) ;
625635 serviceFqn = dashboardService . serviceResponseData . fullyQualifiedName ;
626636
@@ -696,12 +706,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
696706 } ) ;
697707
698708 test . describe ( 'Pagination tests for Drive Service Directories page' , ( ) => {
699- const driveService = new DriveServiceClass ( `pw-drive-service- ${ uuid ( ) } ` ) ;
709+ let driveService : DriveServiceClass ;
700710 let serviceFqn : string ;
701711
702712 test . beforeAll ( async ( { browser } ) => {
703713 const { apiContext, afterAction } = await createNewPage ( browser ) ;
704714
715+ driveService = new DriveServiceClass ( ) ;
705716 await driveService . create ( apiContext ) ;
706717 serviceFqn = driveService . entityResponseData . fullyQualifiedName ;
707718
@@ -753,12 +764,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
753764 } ) ;
754765
755766 test . describe ( 'Pagination tests for Drive Service Files page' , ( ) => {
756- const driveService = new DriveServiceClass ( `pw-drive-service- ${ uuid ( ) } ` ) ;
767+ let driveService : DriveServiceClass ;
757768 let serviceFqn : string ;
758769
759770 test . beforeAll ( async ( { browser } ) => {
760771 const { apiContext, afterAction } = await createNewPage ( browser ) ;
761772
773+ driveService = new DriveServiceClass ( ) ;
762774 await driveService . create ( apiContext ) ;
763775 serviceFqn = driveService . entityResponseData . fullyQualifiedName ;
764776
@@ -907,12 +919,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
907919 } ) ;
908920
909921 test . describe ( 'Pagination tests for Drive Service Spreadsheets page' , ( ) => {
910- const driveService = new DriveServiceClass ( `pw-drive-service- ${ uuid ( ) } ` ) ;
922+ let driveService : DriveServiceClass ;
911923 let serviceFqn : string ;
912924
913925 test . beforeAll ( async ( { browser } ) => {
914926 const { apiContext, afterAction } = await createNewPage ( browser ) ;
915927
928+ driveService = new DriveServiceClass ( ) ;
916929 await driveService . create ( apiContext ) ;
917930 serviceFqn = driveService . entityResponseData . fullyQualifiedName ;
918931
@@ -964,11 +977,12 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
964977 } ) ;
965978
966979 test . describe ( 'Pagination tests for Roles page' , ( ) => {
967- const policy = new PolicyClass ( ) ;
980+ let policy : PolicyClass ;
968981
969982 test . beforeAll ( async ( { browser } ) => {
970983 const { apiContext, afterAction } = await createNewPage ( browser ) ;
971984
985+ policy = new PolicyClass ( ) ;
972986 // Create Policy
973987 await policy . create ( apiContext , [
974988 {
@@ -1046,12 +1060,14 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
10461060 } ) ;
10471061
10481062 test . describe ( 'Pipeline Tasks page pagination' , ( ) => {
1049- const pipeline = new PipelineClass ( ) ;
1063+ let pipeline : PipelineClass ;
10501064 let pipelineFqn : string ;
10511065
10521066 test . beforeAll ( async ( { browser } ) => {
10531067 const { apiContext, afterAction } = await createNewPage ( browser ) ;
10541068
1069+ pipeline = new PipelineClass ( ) ;
1070+
10551071 const tasks = [ ] ;
10561072 for ( let i = 1 ; i <= 20 ; i ++ ) {
10571073 tasks . push ( {
@@ -1101,12 +1117,13 @@ test.describe('Pagination Tests', PLAYWRIGHT_BASIC_TEST_TAG_OBJ, () => {
11011117 } ) ;
11021118
11031119 test . describe ( 'Pagination tests for Service version page' , ( ) => {
1104- const dashboardService = new DashboardServiceClass ( ) ;
1120+ let dashboardService : DashboardServiceClass ;
11051121 let serviceFqn : string ;
11061122
11071123 test . beforeAll ( async ( { browser } ) => {
11081124 const { apiContext, afterAction } = await createNewPage ( browser ) ;
11091125
1126+ dashboardService = new DashboardServiceClass ( ) ;
11101127 // Create Dashboard Service and Dashboards
11111128 const customChildDashboards = [ ] ;
11121129 for ( let i = 1 ; i <= 20 ; i ++ ) {
0 commit comments