vita-playwright 1.6.3-beta → 1.6.8-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/index.d.ts +30 -28
  2. package/dist/index.js +65 -58
  3. package/dist/index.js.map +1 -1
  4. package/dist/src/common/Okta.d.ts +33 -33
  5. package/dist/src/common/Okta.js +107 -107
  6. package/dist/src/common/Okta.js.map +1 -1
  7. package/dist/src/common/Payloads.d.ts +66 -66
  8. package/dist/src/common/Payloads.js +46 -46
  9. package/dist/src/common/Tiger.d.ts +38 -38
  10. package/dist/src/common/Tiger.js +124 -124
  11. package/dist/src/common/Tiger.js.map +1 -1
  12. package/dist/src/common/mail-templates.d.ts +7 -7
  13. package/dist/src/common/mail-templates.js +163 -163
  14. package/dist/src/common/mail-templates.js.map +1 -1
  15. package/dist/src/common/mme.d.ts +34 -34
  16. package/dist/src/common/mme.js +148 -148
  17. package/dist/src/common/mme.js.map +1 -1
  18. package/dist/src/common/oAuth.d.ts +2 -0
  19. package/dist/src/common/oAuth.js +67 -0
  20. package/dist/src/common/oAuth.js.map +1 -0
  21. package/dist/src/common/typesafety.d.ts +38 -0
  22. package/dist/src/common/typesafety.js +3 -0
  23. package/dist/src/common/typesafety.js.map +1 -0
  24. package/dist/src/helpers/api-excel-driver.d.ts +35 -35
  25. package/dist/src/helpers/api-excel-driver.js +519 -520
  26. package/dist/src/helpers/api-excel-driver.js.map +1 -1
  27. package/dist/src/helpers/api-helpers.d.ts +54 -54
  28. package/dist/src/helpers/api-helpers.js +535 -535
  29. package/dist/src/helpers/api-helpers.js.map +1 -1
  30. package/dist/src/helpers/custom-reporter.d.ts +8 -8
  31. package/dist/src/helpers/custom-reporter.js +33 -33
  32. package/dist/src/helpers/custom-reporter.js.map +1 -1
  33. package/dist/src/helpers/file-helper.d.ts +10 -10
  34. package/dist/src/helpers/file-helper.js +269 -269
  35. package/dist/src/helpers/file-helper.js.map +1 -1
  36. package/dist/src/helpers/imap-client.d.ts +14 -15
  37. package/dist/src/helpers/imap-client.js +198 -198
  38. package/dist/src/helpers/imap-client.js.map +1 -1
  39. package/dist/src/helpers/imap-helper.d.ts +12 -12
  40. package/dist/src/helpers/imap-helper.js +114 -114
  41. package/dist/src/helpers/imap-helper.js.map +1 -1
  42. package/dist/src/helpers/parameters.d.ts +32 -32
  43. package/dist/src/helpers/parameters.js +295 -290
  44. package/dist/src/helpers/parameters.js.map +1 -1
  45. package/dist/src/helpers/swagger-api.d.ts +24 -24
  46. package/dist/src/helpers/swagger-api.js +330 -330
  47. package/dist/src/helpers/swagger-api.js.map +1 -1
  48. package/dist/src/helpers/ui-helpers.d.ts +24 -24
  49. package/dist/src/helpers/ui-helpers.js +171 -171
  50. package/dist/src/helpers/ui-helpers.js.map +1 -1
  51. package/dist/src/helpers/web-page.d.ts +89 -90
  52. package/dist/src/helpers/web-page.js +614 -634
  53. package/dist/src/helpers/web-page.js.map +1 -1
  54. package/dist/src/utils/api_axios.d.ts +5 -5
  55. package/dist/src/utils/api_axios.js +34 -34
  56. package/dist/src/utils/api_axios.js.map +1 -1
  57. package/dist/src/utils/azure_storage_methods.d.ts +4 -4
  58. package/dist/src/utils/azure_storage_methods.js +129 -129
  59. package/dist/src/utils/azure_storage_methods.js.map +1 -1
  60. package/dist/src/utils/common-functions.d.ts +29 -30
  61. package/dist/src/utils/common-functions.js +233 -261
  62. package/dist/src/utils/common-functions.js.map +1 -1
  63. package/dist/src/utils/comparisions.d.ts +12 -12
  64. package/dist/src/utils/comparisions.js +97 -97
  65. package/dist/src/utils/comparisions.js.map +1 -1
  66. package/dist/src/utils/date_utilitites.d.ts +9 -9
  67. package/dist/src/utils/date_utilitites.js +29 -29
  68. package/dist/src/utils/db_utility.d.ts +9 -9
  69. package/dist/src/utils/db_utility.js +139 -139
  70. package/dist/src/utils/db_utility.js.map +1 -1
  71. package/dist/src/utils/document_utility.d.ts +15 -16
  72. package/dist/src/utils/document_utility.js +179 -179
  73. package/dist/src/utils/document_utility.js.map +1 -1
  74. package/dist/src/utils/email_sender.d.ts +14 -14
  75. package/dist/src/utils/email_sender.js +56 -56
  76. package/dist/src/utils/email_sender.js.map +1 -1
  77. package/dist/src/utils/excel-util.d.ts +6 -6
  78. package/dist/src/utils/excel-util.js +104 -104
  79. package/dist/src/utils/excel-util.js.map +1 -1
  80. package/dist/src/utils/json-util.d.ts +106 -106
  81. package/dist/src/utils/json-util.js +834 -834
  82. package/dist/src/utils/json-util.js.map +1 -1
  83. package/dist/src/utils/keyvault_methods.d.ts +3 -3
  84. package/dist/src/utils/keyvault_methods.js +29 -29
  85. package/dist/src/utils/lighhouse_utility.d.ts +12 -12
  86. package/dist/src/utils/lighhouse_utility.js +88 -88
  87. package/dist/src/utils/lighhouse_utility.js.map +1 -1
  88. package/dist/src/utils/sqlite.d.ts +10 -10
  89. package/dist/src/utils/sqlite.js +38 -38
  90. package/dist/src/utils/sqlite.js.map +1 -1
  91. package/dist/src/utils/xml-util.d.ts +18 -18
  92. package/dist/src/utils/xml-util.js +93 -93
  93. package/dist/src/utils/xml-util.js.map +1 -1
  94. package/dist/src/utils/xmlToJson.d.ts +3 -3
  95. package/dist/src/utils/xmlToJson.js +56 -56
  96. package/dist/src/utils/xmlToJson.js.map +1 -1
  97. package/index.ts +5 -3
  98. package/package.json +68 -62
  99. package/src/common/oAuth.ts +88 -0
  100. package/src/common/typesafety.ts +45 -0
  101. package/src/helpers/parameters.ts +7 -4
  102. package/src/helpers/swagger-api.ts +1 -1
  103. package/src/helpers/web-page.ts +205 -300
  104. package/src/utils/common-functions.ts +5 -28
  105. package/src/utils/lighhouse_utility.ts +4 -4
package/dist/index.d.ts CHANGED
@@ -1,28 +1,30 @@
1
- import { UIHelper } from './src/helpers/ui-helpers';
2
- import { ApiHelper } from './src/helpers/api-helpers';
3
- import { ApiExcelDriver } from './src/helpers/api-excel-driver';
4
- import ImapClient = require("./src/helpers/imap-client.js");
5
- import { ImapHelper } from './src/helpers/imap-helper';
6
- import { TokenGenerators } from './src/utils/api_axios';
7
- import { AzureStorageMethods } from './src/utils/azure_storage_methods';
8
- import { Comparisions } from './src/utils/comparisions';
9
- import { DocumentUtility } from './src/utils/document_utility';
10
- import { KeyVaultMethods } from './src/utils/keyvault_methods';
11
- import { DBUtility } from './src/utils/db_utility';
12
- import { XmlToJson } from './src/utils/xmlToJson';
13
- import { LightHouseUtility } from './src/utils/lighhouse_utility';
14
- import { Dateutility } from './src/utils/date_utilitites';
15
- import { JSONUtil } from './src/utils/json-util';
16
- import { XmlUtil } from './src/utils/xml-util';
17
- import { ExcelUtil } from './src/utils/excel-util';
18
- import { CommonFunctions } from './src/utils/common-functions';
19
- import { SwaggerAPI } from './src/helpers/swagger-api';
20
- import { Parameters } from './src/helpers/parameters';
21
- import { CustomReporter } from './src/helpers/custom-reporter';
22
- import { WebPage } from './src/helpers/web-page';
23
- import { MailTemplates } from './src/common/mail-templates';
24
- import { MyMobilityEmployee } from './src/common/mme';
25
- import { Okta } from './src/common/Okta';
26
- import { Payloads } from './src/common/Payloads';
27
- import { Tiger } from './src/common/Tiger';
28
- export { UIHelper, ApiHelper, ApiExcelDriver, ImapClient, ImapHelper, TokenGenerators, AzureStorageMethods, Comparisions, DocumentUtility, KeyVaultMethods, DBUtility, XmlToJson, LightHouseUtility, Dateutility, JSONUtil, XmlUtil, ExcelUtil, CommonFunctions, SwaggerAPI, Parameters, CustomReporter, WebPage, MailTemplates, MyMobilityEmployee, Okta, Payloads, Tiger, };
1
+ import { UIHelper } from './src/helpers/ui-helpers';
2
+ import { ApiHelper } from './src/helpers/api-helpers';
3
+ import { ApiExcelDriver } from './src/helpers/api-excel-driver';
4
+ import ImapClient = require("./src/helpers/imap-client.js");
5
+ import { ImapHelper } from './src/helpers/imap-helper';
6
+ import { TokenGenerators } from './src/utils/api_axios';
7
+ import { AzureStorageMethods } from './src/utils/azure_storage_methods';
8
+ import { Comparisions } from './src/utils/comparisions';
9
+ import { DocumentUtility } from './src/utils/document_utility';
10
+ import { KeyVaultMethods } from './src/utils/keyvault_methods';
11
+ import { DBUtility } from './src/utils/db_utility';
12
+ import { XmlToJson } from './src/utils/xmlToJson';
13
+ import { LightHouseUtility } from './src/utils/lighhouse_utility';
14
+ import { Dateutility } from './src/utils/date_utilitites';
15
+ import { JSONUtil } from './src/utils/json-util';
16
+ import { XmlUtil } from './src/utils/xml-util';
17
+ import { ExcelUtil } from './src/utils/excel-util';
18
+ import { CommonFunctions } from './src/utils/common-functions';
19
+ import { SwaggerAPI } from './src/helpers/swagger-api';
20
+ import { CustomReporter } from './src/helpers/custom-reporter';
21
+ import { WebPage } from './src/helpers/web-page';
22
+ import { MailTemplates } from './src/common/mail-templates';
23
+ import { MyMobilityEmployee } from './src/common/mme';
24
+ import { Okta } from './src/common/Okta';
25
+ import { Payloads } from './src/common/Payloads';
26
+ import { Tiger } from './src/common/Tiger';
27
+ import { Parameters } from './src/helpers/parameters';
28
+ import { setParameter, setParameters, getParameter, replaceParametersInJsonObject } from './src/helpers/parameters';
29
+ import { getBearerToken } from './src/common/oAuth';
30
+ export { UIHelper, ApiHelper, ApiExcelDriver, ImapClient, ImapHelper, TokenGenerators, AzureStorageMethods, Comparisions, DocumentUtility, KeyVaultMethods, DBUtility, XmlToJson, LightHouseUtility, Dateutility, JSONUtil, XmlUtil, ExcelUtil, CommonFunctions, SwaggerAPI, Parameters, CustomReporter, WebPage, MailTemplates, MyMobilityEmployee, Okta, Payloads, Tiger, setParameter, setParameters, getParameter, replaceParametersInJsonObject, getBearerToken };
package/dist/index.js CHANGED
@@ -1,59 +1,66 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Tiger = exports.Payloads = exports.Okta = exports.MyMobilityEmployee = exports.MailTemplates = exports.WebPage = exports.CustomReporter = exports.Parameters = exports.SwaggerAPI = exports.CommonFunctions = exports.ExcelUtil = exports.XmlUtil = exports.JSONUtil = exports.Dateutility = exports.LightHouseUtility = exports.XmlToJson = exports.DBUtility = exports.KeyVaultMethods = exports.DocumentUtility = exports.Comparisions = exports.AzureStorageMethods = exports.TokenGenerators = exports.ImapHelper = exports.ImapClient = exports.ApiExcelDriver = exports.ApiHelper = exports.UIHelper = void 0;
4
- const ui_helpers_1 = require("./src/helpers/ui-helpers");
5
- Object.defineProperty(exports, "UIHelper", { enumerable: true, get: function () { return ui_helpers_1.UIHelper; } });
6
- const api_helpers_1 = require("./src/helpers/api-helpers");
7
- Object.defineProperty(exports, "ApiHelper", { enumerable: true, get: function () { return api_helpers_1.ApiHelper; } });
8
- const api_excel_driver_1 = require("./src/helpers/api-excel-driver");
9
- Object.defineProperty(exports, "ApiExcelDriver", { enumerable: true, get: function () { return api_excel_driver_1.ApiExcelDriver; } });
10
- const ImapClient = require("./src/helpers/imap-client.js");
11
- exports.ImapClient = ImapClient;
12
- const imap_helper_1 = require("./src/helpers/imap-helper");
13
- Object.defineProperty(exports, "ImapHelper", { enumerable: true, get: function () { return imap_helper_1.ImapHelper; } });
14
- const api_axios_1 = require("./src/utils/api_axios");
15
- Object.defineProperty(exports, "TokenGenerators", { enumerable: true, get: function () { return api_axios_1.TokenGenerators; } });
16
- const azure_storage_methods_1 = require("./src/utils/azure_storage_methods");
17
- Object.defineProperty(exports, "AzureStorageMethods", { enumerable: true, get: function () { return azure_storage_methods_1.AzureStorageMethods; } });
18
- const comparisions_1 = require("./src/utils/comparisions");
19
- Object.defineProperty(exports, "Comparisions", { enumerable: true, get: function () { return comparisions_1.Comparisions; } });
20
- const document_utility_1 = require("./src/utils/document_utility");
21
- Object.defineProperty(exports, "DocumentUtility", { enumerable: true, get: function () { return document_utility_1.DocumentUtility; } });
22
- const keyvault_methods_1 = require("./src/utils/keyvault_methods");
23
- Object.defineProperty(exports, "KeyVaultMethods", { enumerable: true, get: function () { return keyvault_methods_1.KeyVaultMethods; } });
24
- const db_utility_1 = require("./src/utils/db_utility");
25
- Object.defineProperty(exports, "DBUtility", { enumerable: true, get: function () { return db_utility_1.DBUtility; } });
26
- const xmlToJson_1 = require("./src/utils/xmlToJson");
27
- Object.defineProperty(exports, "XmlToJson", { enumerable: true, get: function () { return xmlToJson_1.XmlToJson; } });
28
- const lighhouse_utility_1 = require("./src/utils/lighhouse_utility");
29
- Object.defineProperty(exports, "LightHouseUtility", { enumerable: true, get: function () { return lighhouse_utility_1.LightHouseUtility; } });
30
- const date_utilitites_1 = require("./src/utils/date_utilitites");
31
- Object.defineProperty(exports, "Dateutility", { enumerable: true, get: function () { return date_utilitites_1.Dateutility; } });
32
- // import { SQLite } from './src/utils/sqlite';
33
- const json_util_1 = require("./src/utils/json-util");
34
- Object.defineProperty(exports, "JSONUtil", { enumerable: true, get: function () { return json_util_1.JSONUtil; } });
35
- const xml_util_1 = require("./src/utils/xml-util");
36
- Object.defineProperty(exports, "XmlUtil", { enumerable: true, get: function () { return xml_util_1.XmlUtil; } });
37
- const excel_util_1 = require("./src/utils/excel-util");
38
- Object.defineProperty(exports, "ExcelUtil", { enumerable: true, get: function () { return excel_util_1.ExcelUtil; } });
39
- const common_functions_1 = require("./src/utils/common-functions");
40
- Object.defineProperty(exports, "CommonFunctions", { enumerable: true, get: function () { return common_functions_1.CommonFunctions; } });
41
- const swagger_api_1 = require("./src/helpers/swagger-api");
42
- Object.defineProperty(exports, "SwaggerAPI", { enumerable: true, get: function () { return swagger_api_1.SwaggerAPI; } });
43
- const parameters_1 = require("./src/helpers/parameters");
44
- Object.defineProperty(exports, "Parameters", { enumerable: true, get: function () { return parameters_1.Parameters; } });
45
- const custom_reporter_1 = require("./src/helpers/custom-reporter");
46
- Object.defineProperty(exports, "CustomReporter", { enumerable: true, get: function () { return custom_reporter_1.CustomReporter; } });
47
- const web_page_1 = require("./src/helpers/web-page");
48
- Object.defineProperty(exports, "WebPage", { enumerable: true, get: function () { return web_page_1.WebPage; } });
49
- const mail_templates_1 = require("./src/common/mail-templates");
50
- Object.defineProperty(exports, "MailTemplates", { enumerable: true, get: function () { return mail_templates_1.MailTemplates; } });
51
- const mme_1 = require("./src/common/mme");
52
- Object.defineProperty(exports, "MyMobilityEmployee", { enumerable: true, get: function () { return mme_1.MyMobilityEmployee; } });
53
- const Okta_1 = require("./src/common/Okta");
54
- Object.defineProperty(exports, "Okta", { enumerable: true, get: function () { return Okta_1.Okta; } });
55
- const Payloads_1 = require("./src/common/Payloads");
56
- Object.defineProperty(exports, "Payloads", { enumerable: true, get: function () { return Payloads_1.Payloads; } });
57
- const Tiger_1 = require("./src/common/Tiger");
58
- Object.defineProperty(exports, "Tiger", { enumerable: true, get: function () { return Tiger_1.Tiger; } });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getBearerToken = exports.replaceParametersInJsonObject = exports.getParameter = exports.setParameters = exports.setParameter = exports.Tiger = exports.Payloads = exports.Okta = exports.MyMobilityEmployee = exports.MailTemplates = exports.WebPage = exports.CustomReporter = exports.Parameters = exports.SwaggerAPI = exports.CommonFunctions = exports.ExcelUtil = exports.XmlUtil = exports.JSONUtil = exports.Dateutility = exports.LightHouseUtility = exports.XmlToJson = exports.DBUtility = exports.KeyVaultMethods = exports.DocumentUtility = exports.Comparisions = exports.AzureStorageMethods = exports.TokenGenerators = exports.ImapHelper = exports.ImapClient = exports.ApiExcelDriver = exports.ApiHelper = exports.UIHelper = void 0;
4
+ const ui_helpers_1 = require("./src/helpers/ui-helpers");
5
+ Object.defineProperty(exports, "UIHelper", { enumerable: true, get: function () { return ui_helpers_1.UIHelper; } });
6
+ const api_helpers_1 = require("./src/helpers/api-helpers");
7
+ Object.defineProperty(exports, "ApiHelper", { enumerable: true, get: function () { return api_helpers_1.ApiHelper; } });
8
+ const api_excel_driver_1 = require("./src/helpers/api-excel-driver");
9
+ Object.defineProperty(exports, "ApiExcelDriver", { enumerable: true, get: function () { return api_excel_driver_1.ApiExcelDriver; } });
10
+ const ImapClient = require("./src/helpers/imap-client.js");
11
+ exports.ImapClient = ImapClient;
12
+ const imap_helper_1 = require("./src/helpers/imap-helper");
13
+ Object.defineProperty(exports, "ImapHelper", { enumerable: true, get: function () { return imap_helper_1.ImapHelper; } });
14
+ const api_axios_1 = require("./src/utils/api_axios");
15
+ Object.defineProperty(exports, "TokenGenerators", { enumerable: true, get: function () { return api_axios_1.TokenGenerators; } });
16
+ const azure_storage_methods_1 = require("./src/utils/azure_storage_methods");
17
+ Object.defineProperty(exports, "AzureStorageMethods", { enumerable: true, get: function () { return azure_storage_methods_1.AzureStorageMethods; } });
18
+ const comparisions_1 = require("./src/utils/comparisions");
19
+ Object.defineProperty(exports, "Comparisions", { enumerable: true, get: function () { return comparisions_1.Comparisions; } });
20
+ const document_utility_1 = require("./src/utils/document_utility");
21
+ Object.defineProperty(exports, "DocumentUtility", { enumerable: true, get: function () { return document_utility_1.DocumentUtility; } });
22
+ const keyvault_methods_1 = require("./src/utils/keyvault_methods");
23
+ Object.defineProperty(exports, "KeyVaultMethods", { enumerable: true, get: function () { return keyvault_methods_1.KeyVaultMethods; } });
24
+ const db_utility_1 = require("./src/utils/db_utility");
25
+ Object.defineProperty(exports, "DBUtility", { enumerable: true, get: function () { return db_utility_1.DBUtility; } });
26
+ const xmlToJson_1 = require("./src/utils/xmlToJson");
27
+ Object.defineProperty(exports, "XmlToJson", { enumerable: true, get: function () { return xmlToJson_1.XmlToJson; } });
28
+ const lighhouse_utility_1 = require("./src/utils/lighhouse_utility");
29
+ Object.defineProperty(exports, "LightHouseUtility", { enumerable: true, get: function () { return lighhouse_utility_1.LightHouseUtility; } });
30
+ const date_utilitites_1 = require("./src/utils/date_utilitites");
31
+ Object.defineProperty(exports, "Dateutility", { enumerable: true, get: function () { return date_utilitites_1.Dateutility; } });
32
+ // import { SQLite } from './src/utils/sqlite';
33
+ const json_util_1 = require("./src/utils/json-util");
34
+ Object.defineProperty(exports, "JSONUtil", { enumerable: true, get: function () { return json_util_1.JSONUtil; } });
35
+ const xml_util_1 = require("./src/utils/xml-util");
36
+ Object.defineProperty(exports, "XmlUtil", { enumerable: true, get: function () { return xml_util_1.XmlUtil; } });
37
+ const excel_util_1 = require("./src/utils/excel-util");
38
+ Object.defineProperty(exports, "ExcelUtil", { enumerable: true, get: function () { return excel_util_1.ExcelUtil; } });
39
+ const common_functions_1 = require("./src/utils/common-functions");
40
+ Object.defineProperty(exports, "CommonFunctions", { enumerable: true, get: function () { return common_functions_1.CommonFunctions; } });
41
+ const swagger_api_1 = require("./src/helpers/swagger-api");
42
+ Object.defineProperty(exports, "SwaggerAPI", { enumerable: true, get: function () { return swagger_api_1.SwaggerAPI; } });
43
+ const custom_reporter_1 = require("./src/helpers/custom-reporter");
44
+ Object.defineProperty(exports, "CustomReporter", { enumerable: true, get: function () { return custom_reporter_1.CustomReporter; } });
45
+ const web_page_1 = require("./src/helpers/web-page");
46
+ Object.defineProperty(exports, "WebPage", { enumerable: true, get: function () { return web_page_1.WebPage; } });
47
+ const mail_templates_1 = require("./src/common/mail-templates");
48
+ Object.defineProperty(exports, "MailTemplates", { enumerable: true, get: function () { return mail_templates_1.MailTemplates; } });
49
+ const mme_1 = require("./src/common/mme");
50
+ Object.defineProperty(exports, "MyMobilityEmployee", { enumerable: true, get: function () { return mme_1.MyMobilityEmployee; } });
51
+ const Okta_1 = require("./src/common/Okta");
52
+ Object.defineProperty(exports, "Okta", { enumerable: true, get: function () { return Okta_1.Okta; } });
53
+ const Payloads_1 = require("./src/common/Payloads");
54
+ Object.defineProperty(exports, "Payloads", { enumerable: true, get: function () { return Payloads_1.Payloads; } });
55
+ const Tiger_1 = require("./src/common/Tiger");
56
+ Object.defineProperty(exports, "Tiger", { enumerable: true, get: function () { return Tiger_1.Tiger; } });
57
+ const parameters_1 = require("./src/helpers/parameters");
58
+ Object.defineProperty(exports, "Parameters", { enumerable: true, get: function () { return parameters_1.Parameters; } });
59
+ const parameters_2 = require("./src/helpers/parameters");
60
+ Object.defineProperty(exports, "setParameter", { enumerable: true, get: function () { return parameters_2.setParameter; } });
61
+ Object.defineProperty(exports, "setParameters", { enumerable: true, get: function () { return parameters_2.setParameters; } });
62
+ Object.defineProperty(exports, "getParameter", { enumerable: true, get: function () { return parameters_2.getParameter; } });
63
+ Object.defineProperty(exports, "replaceParametersInJsonObject", { enumerable: true, get: function () { return parameters_2.replaceParametersInJsonObject; } });
64
+ const oAuth_1 = require("./src/common/oAuth");
65
+ Object.defineProperty(exports, "getBearerToken", { enumerable: true, get: function () { return oAuth_1.getBearerToken; } });
59
66
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AA+BhD,yFA/BK,qBAAQ,OA+BL;AA9BZ,2DAAsD;AA+BlD,0FA/BK,uBAAS,OA+BL;AA9Bb,qEAAgE;AA+B5D,+FA/BK,iCAAc,OA+BL;AA9BlB,2DAA2D;AA+BvD,gCAAU;AA9Bd,2DAAuD;AA+BnD,2FA/BK,wBAAU,OA+BL;AA9Bd,qDAAwD;AA+BpD,gGA/BK,2BAAe,OA+BL;AA9BnB,6EAAwE;AA+BpE,oGA/BK,2CAAmB,OA+BL;AA9BvB,2DAAwD;AA+BpD,6FA/BK,2BAAY,OA+BL;AA9BhB,mEAA+D;AA+B3D,gGA/BK,kCAAe,OA+BL;AA9BnB,mEAA+D;AA+B3D,gGA/BK,kCAAe,OA+BL;AA9BnB,uDAAmD;AA+B/C,0FA/BK,sBAAS,OA+BL;AA9Bb,qDAAkD;AA+B9C,0FA/BK,qBAAS,OA+BL;AA9Bb,qEAAkE;AA+B9D,kGA/BK,qCAAiB,OA+BL;AA9BrB,iEAA0D;AA+BtD,4FA/BK,6BAAW,OA+BL;AA9Bf,+CAA+C;AAC/C,qDAAiD;AA+B7C,yFA/BK,oBAAQ,OA+BL;AA9BZ,mDAA+C;AA+B3C,wFA/BK,kBAAO,OA+BL;AA9BX,uDAAmD;AA+B/C,0FA/BK,sBAAS,OA+BL;AA9Bb,mEAA+D;AA+B3D,gGA/BK,kCAAe,OA+BL;AA9BnB,2DAAuD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K,kBAAO,OAgCL;AA/BX,uDAAmD;AAgC/C,0FAhCK,sBAAS,OAgCL;AA/Bb,mEAA+D;AAgC3D,gGAhCK,kCAAe,OAgCL;AA/BnB,2DAAuD;AAgCnD,2FAhCK,wBAAU,OAgCL;AA/Bd,mEAA+D;AAiC3D,+FAjCK,gCAAc,OAiCL;AAhClB,qDAAiD;AAiC7C,wFAjCK,kBAAO,OAiCL;AAhCX,gEAA4D;AAiCxD,8FAjCK,8BAAa,OAiCL;AAhCjB,0CAAsD;AAiClD,mGAjCK,wBAAkB,OAiCL;AAhCtB,4CAAyC;AAiCrC,qFAjCK,WAAI,OAiCL;AAhCR,oDAAiD;AAiC7C,yFAjCK,mBAAQ,OAiCL;AAhCZ,8CAA2C;AAiCvC,sFAjCK,aAAK,OAiCL;AAhCT,yDAAsD;AAyBlD,2FAzBK,uBAAU,OAyBL;AAxBd,yDAAoH;AAgChH,6FAhCK,yBAAY,OAgCL;AAAE,8FAhCK,0BAAa,OAgCL;AAAE,6FAhCK,yBAAY,OAgCL;AAAE,8GAhCK,0CAA6B,OAgCL;AA/B5E,8CAAmD;AAgC/C,+FAhCI,sBAAc,OAgCJ"}
@@ -1,33 +1,33 @@
1
- import { Browser, BrowserContext, Locator, Page } from "playwright/test";
2
- export type LoginData = {
3
- url: string;
4
- eMail: string;
5
- userName: string;
6
- password: string;
7
- loginType: "Okta" | "OktaPreview" | "OktaPreviewTest";
8
- };
9
- export declare class Okta {
10
- protected page: Page;
11
- protected Login_in_to_Vialto_Partners_Stage: Locator;
12
- protected Login_in_to_Vialto_Partners_Dev: Locator;
13
- protected Email_address: Locator;
14
- protected Continue: Locator;
15
- protected Sign_in_with_Okta_FastPass: Locator;
16
- protected Username: Locator;
17
- protected Next: Locator;
18
- protected Password: Locator;
19
- protected Verify: Locator;
20
- protected Send_me_an_email: Locator;
21
- protected Enter_a_verification_code: Locator;
22
- protected Enter_Code: Locator;
23
- constructor(webPage: {
24
- browser?: Browser;
25
- context?: BrowserContext;
26
- page?: Page;
27
- });
28
- initialize(): void;
29
- goto(url: string): Promise<void>;
30
- login(data: LoginData): Promise<any>;
31
- private oktaLogin;
32
- private oktaPreviewLogin;
33
- }
1
+ import { Browser, BrowserContext, Locator, Page } from "playwright/test";
2
+ export type LoginData = {
3
+ url: string;
4
+ eMail: string;
5
+ userName: string;
6
+ password: string;
7
+ loginType: "Okta" | "OktaPreview" | "OktaPreviewTest";
8
+ };
9
+ export declare class Okta {
10
+ protected page: Page;
11
+ protected Login_in_to_Vialto_Partners_Stage: Locator;
12
+ protected Login_in_to_Vialto_Partners_Dev: Locator;
13
+ protected Email_address: Locator;
14
+ protected Continue: Locator;
15
+ protected Sign_in_with_Okta_FastPass: Locator;
16
+ protected Username: Locator;
17
+ protected Next: Locator;
18
+ protected Password: Locator;
19
+ protected Verify: Locator;
20
+ protected Send_me_an_email: Locator;
21
+ protected Enter_a_verification_code: Locator;
22
+ protected Enter_Code: Locator;
23
+ constructor(webPage: {
24
+ browser?: Browser;
25
+ context?: BrowserContext;
26
+ page?: Page;
27
+ });
28
+ initialize(): void;
29
+ goto(url: string): Promise<void>;
30
+ login(data: LoginData): Promise<any>;
31
+ private oktaLogin;
32
+ private oktaPreviewLogin;
33
+ }
@@ -1,108 +1,108 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Okta = void 0;
13
- class Okta {
14
- constructor(webPage) {
15
- this.page = webPage.page;
16
- this.initialize();
17
- }
18
- initialize() {
19
- this.Login_in_to_Vialto_Partners_Stage = this.page.getByRole('paragraph', { name: 'Log in to Vialto Partners (Stage) to continue to Immigration.' });
20
- this.Login_in_to_Vialto_Partners_Dev = this.page.getByRole('paragraph', { name: 'Log in to Vialto Partners (Dev) to continue to Immigration.' });
21
- this.Email_address = this.page.getByRole('textbox', { name: 'Email address' });
22
- this.Continue = this.page.getByRole('button', { name: 'Continue', exact: true }).nth(0); // Select the first button // Refined locator
23
- this.Sign_in_with_Okta_FastPass = this.page.getByRole('link', { name: 'Sign in with Okta FastPass' });
24
- this.Username = this.page.getByRole('textbox', { name: 'Username' });
25
- this.Next = this.page.getByRole('button', { name: 'Next' });
26
- this.Password = this.page.getByRole('textbox', { name: 'Password' });
27
- this.Verify = this.page.getByRole('button', { name: 'Verify' });
28
- this.Send_me_an_email = this.page.getByRole('button', { name: 'Send me an email' });
29
- this.Enter_a_verification_code = this.page.getByRole('button', { name: 'Enter a verification code' });
30
- this.Enter_Code = this.page.getByRole('textbox', { name: 'Enter Code' });
31
- }
32
- goto(url) {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- console.debug(`Navigating to URL: ${url}`);
35
- yield this.page.goto(url);
36
- });
37
- }
38
- login(data) {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- if (data.url != undefined && data.url != null)
41
- yield this.goto(data.url);
42
- yield this.page.waitForTimeout(2000);
43
- yield this.page.waitForLoadState('networkidle');
44
- if (data.loginType === 'Okta') {
45
- yield this.oktaLogin(data);
46
- }
47
- else if (data.loginType === 'OktaPreview') {
48
- yield this.oktaPreviewLogin(data);
49
- }
50
- yield this.page.waitForTimeout(2000);
51
- yield this.page.waitForLoadState('networkidle');
52
- ////////////////////////
53
- yield this.page.context().storageState({ path: process.env.OKTA_SESSION_FILE });
54
- });
55
- }
56
- oktaLogin(data) {
57
- return __awaiter(this, void 0, void 0, function* () {
58
- if ((yield this.page.locator('//input[@id="username"]').count()) > 0) {
59
- yield this.page.locator('//input[@id="username"]').fill(data.eMail);
60
- yield this.page.locator('//button[@type="submit" and text()="Continue"]').click();
61
- yield this.page.waitForLoadState();
62
- yield this.page.waitForTimeout(2000);
63
- yield this.page.waitForLoadState('networkidle');
64
- }
65
- yield this.page.waitForTimeout(5000);
66
- if ((yield this.page.locator('//input[@name="identifier"]').count()) > 0) {
67
- yield this.page.locator('//input[@name="identifier"]').fill(data.userName);
68
- yield this.page.locator('//input[@type="submit"]').click();
69
- yield this.page.waitForTimeout(2000);
70
- yield this.page.waitForLoadState('networkidle');
71
- }
72
- yield this.page.waitForTimeout(2000);
73
- if ((yield this.page.locator('//input[@type="password"]').count()) > 0) {
74
- yield this.page.locator('//input[@type="password"]').fill(data.password);
75
- yield this.page.locator('//input[@type="submit"]').click();
76
- yield this.page.waitForLoadState();
77
- yield this.page.waitForTimeout(2000);
78
- yield this.page.waitForLoadState('networkidle');
79
- }
80
- });
81
- }
82
- oktaPreviewLogin(data) {
83
- return __awaiter(this, void 0, void 0, function* () {
84
- {
85
- yield this.page.waitForLoadState('networkidle');
86
- yield this.page.getByText('Welcome Log in to Vialto').click();
87
- yield this.page.getByRole('textbox', { name: 'Username' }).click();
88
- yield this.page.getByRole('textbox', { name: 'Username' }).fill(data.eMail);
89
- yield this.page.getByRole('button', { name: 'Continue', exact: true }).click();
90
- }
91
- {
92
- yield this.page.waitForLoadState('networkidle');
93
- yield this.page.getByRole('textbox', { name: 'Username' }).click();
94
- yield this.page.getByRole('textbox', { name: 'Username' }).fill(data.userName);
95
- yield this.page.getByRole('button', { name: 'Next' }).click();
96
- }
97
- {
98
- yield this.page.waitForLoadState('networkidle');
99
- yield this.page.getByRole('textbox', { name: 'Password' }).click();
100
- yield this.page.getByRole('textbox', { name: 'Password' }).fill(data.password);
101
- yield this.page.getByRole('button', { name: 'Verify' }).click();
102
- }
103
- yield this.page.waitForLoadState('networkidle');
104
- });
105
- }
106
- }
107
- exports.Okta = Okta;
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.Okta = void 0;
13
+ class Okta {
14
+ constructor(webPage) {
15
+ this.page = webPage.page;
16
+ this.initialize();
17
+ }
18
+ initialize() {
19
+ this.Login_in_to_Vialto_Partners_Stage = this.page.getByRole('paragraph', { name: 'Log in to Vialto Partners (Stage) to continue to Immigration.' });
20
+ this.Login_in_to_Vialto_Partners_Dev = this.page.getByRole('paragraph', { name: 'Log in to Vialto Partners (Dev) to continue to Immigration.' });
21
+ this.Email_address = this.page.getByRole('textbox', { name: 'Email address' });
22
+ this.Continue = this.page.getByRole('button', { name: 'Continue', exact: true }).nth(0); // Select the first button // Refined locator
23
+ this.Sign_in_with_Okta_FastPass = this.page.getByRole('link', { name: 'Sign in with Okta FastPass' });
24
+ this.Username = this.page.getByRole('textbox', { name: 'Username' });
25
+ this.Next = this.page.getByRole('button', { name: 'Next' });
26
+ this.Password = this.page.getByRole('textbox', { name: 'Password' });
27
+ this.Verify = this.page.getByRole('button', { name: 'Verify' });
28
+ this.Send_me_an_email = this.page.getByRole('button', { name: 'Send me an email' });
29
+ this.Enter_a_verification_code = this.page.getByRole('button', { name: 'Enter a verification code' });
30
+ this.Enter_Code = this.page.getByRole('textbox', { name: 'Enter Code' });
31
+ }
32
+ goto(url) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ console.debug(`Navigating to URL: ${url}`);
35
+ yield this.page.goto(url);
36
+ });
37
+ }
38
+ login(data) {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ if (data.url != undefined && data.url != null)
41
+ yield this.goto(data.url);
42
+ yield this.page.waitForTimeout(2000);
43
+ yield this.page.waitForLoadState('networkidle');
44
+ if (data.loginType === 'Okta') {
45
+ yield this.oktaLogin(data);
46
+ }
47
+ else if (data.loginType === 'OktaPreview') {
48
+ yield this.oktaPreviewLogin(data);
49
+ }
50
+ yield this.page.waitForTimeout(2000);
51
+ yield this.page.waitForLoadState('networkidle');
52
+ ////////////////////////
53
+ yield this.page.context().storageState({ path: process.env.OKTA_SESSION_FILE });
54
+ });
55
+ }
56
+ oktaLogin(data) {
57
+ return __awaiter(this, void 0, void 0, function* () {
58
+ if ((yield this.page.locator('//input[@id="username"]').count()) > 0) {
59
+ yield this.page.locator('//input[@id="username"]').fill(data.eMail);
60
+ yield this.page.locator('//button[@type="submit" and text()="Continue"]').click();
61
+ yield this.page.waitForLoadState();
62
+ yield this.page.waitForTimeout(2000);
63
+ yield this.page.waitForLoadState('networkidle');
64
+ }
65
+ yield this.page.waitForTimeout(5000);
66
+ if ((yield this.page.locator('//input[@name="identifier"]').count()) > 0) {
67
+ yield this.page.locator('//input[@name="identifier"]').fill(data.userName);
68
+ yield this.page.locator('//input[@type="submit"]').click();
69
+ yield this.page.waitForTimeout(2000);
70
+ yield this.page.waitForLoadState('networkidle');
71
+ }
72
+ yield this.page.waitForTimeout(2000);
73
+ if ((yield this.page.locator('//input[@type="password"]').count()) > 0) {
74
+ yield this.page.locator('//input[@type="password"]').fill(data.password);
75
+ yield this.page.locator('//input[@type="submit"]').click();
76
+ yield this.page.waitForLoadState();
77
+ yield this.page.waitForTimeout(2000);
78
+ yield this.page.waitForLoadState('networkidle');
79
+ }
80
+ });
81
+ }
82
+ oktaPreviewLogin(data) {
83
+ return __awaiter(this, void 0, void 0, function* () {
84
+ {
85
+ yield this.page.waitForLoadState('networkidle');
86
+ yield this.page.getByText('Welcome Log in to Vialto').click();
87
+ yield this.page.getByRole('textbox', { name: 'Username' }).click();
88
+ yield this.page.getByRole('textbox', { name: 'Username' }).fill(data.eMail);
89
+ yield this.page.getByRole('button', { name: 'Continue', exact: true }).click();
90
+ }
91
+ {
92
+ yield this.page.waitForLoadState('networkidle');
93
+ yield this.page.getByRole('textbox', { name: 'Username' }).click();
94
+ yield this.page.getByRole('textbox', { name: 'Username' }).fill(data.userName);
95
+ yield this.page.getByRole('button', { name: 'Next' }).click();
96
+ }
97
+ {
98
+ yield this.page.waitForLoadState('networkidle');
99
+ yield this.page.getByRole('textbox', { name: 'Password' }).click();
100
+ yield this.page.getByRole('textbox', { name: 'Password' }).fill(data.password);
101
+ yield this.page.getByRole('button', { name: 'Verify' }).click();
102
+ }
103
+ yield this.page.waitForLoadState('networkidle');
104
+ });
105
+ }
106
+ }
107
+ exports.Okta = Okta;
108
108
  //# sourceMappingURL=Okta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Okta.js","sourceRoot":"","sources":["../../../src/common/Okta.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,MAAa,IAAI;IAkBb,YAAmB,OAAqE;QACpF,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;IAEM,UAAU;QAEb,IAAI,CAAC,iCAAiC,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,+DAA+D,EAAE,CAAC,CAAC;QACrJ,IAAI,CAAC,+BAA+B,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,6DAA6D,EAAE,CAAC,CAAC;QACjJ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;QAC/E,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI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