Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testcase versioning changes #297

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/TestCases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ Here are some examples of tags for different categories:
* Tags for communicationModes: @sdk, @transport

## Directory strucute:
Within the `cypress/TestCases` folder we have the following sub-folders:
Within the `cypress/TestCases/<sdkVersion>` folder we have the following sub-folders:
- FireboltCertification: Contains core and manage feature files.
- Sanity: Contains core and manage sanity tests.
2 changes: 1 addition & 1 deletion cypress/fixtures/docs/validations.md
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ The basic structure of the validation object in configModule with override will
}
```

While validating, if a key is present in both fcs-validation jsons (eg: cypress/fixtures/objects/validationObjects/accessibility.json ) and also in configModule's validation jsons (eg: in config module : fixtures/objects/validationObjects/account.json ) which will be in cypress/fixtures/external/objects/validationObjects/, it will be checking for the "override" value first. If the override value of config validation object is matching with fcs validation objects data's index value, then that specific object in the data array will be overriden with the object from configModule. Else, the configModule object will be pushed as a new object in the data array.
While validating, if a key is present in both fcs-validation jsons (eg: cypress/fixtures/objects/validationObjects/accessibility.json ) and also in configModule's validation jsons (eg: in config module : fixtures/objects/validationObjects/account.json ) which will be in cypress/fixtures/external/<sdkVersion>objects/validationObjects/, it will be checking for the "override" value first. If the override value of config validation object is matching with fcs validation objects data's index value, then that specific object in the data array will be overriden with the object from configModule. Else, the configModule object will be pushed as a new object in the data array.

### Example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
We use a JSON structure to define `customFooter` and `customMetadata` for various pages within the report. This allows dynamic customization, ensuring that each page can have specific information and design elements as needed.

## Loading the JSON Data
The JSON data will first be loaded from `configModule/fixtures/external/objects/customReportData.json`. If this file is not available in the configModule, the data will be loaded from the local JSON file located at `cypress/fixtures/customReportData.json`.
The JSON data will first be loaded from `configModule/fixtures/external/<sdkVersion>/objects/customReportData.json`. If this file is not available in the configModule, the data will be loaded from the local JSON file located at `cypress/fixtures/customReportData.json`.

## Fields
`customFooter`
Expand Down
36 changes: 33 additions & 3 deletions cypress/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ let metaDataArr = [];
module.exports = async (on, config) => {
// To set the specPattern dynamically based on the testSuite
const testsuite = config.env.testSuite;
const specPattern = getSpecPattern(testsuite);
const sdkVersion = config.env.sdkVersion || 'latest';
CONSTANTS.setSdkVersion(sdkVersion);
const specPattern = getSpecPattern(testsuite, sdkVersion);
if (specPattern !== undefined) {
config.specPattern = specPattern;
}
Expand Down Expand Up @@ -93,6 +95,32 @@ module.exports = async (on, config) => {
logger.info(message);
return null;
},
getFireboltCallsData({ sdkVersion }) {
console.log(
'sdkversion inside index.js:------------------------->>>>>>>>>>>>>>>>>> ',
sdkVersion
);
let data;

const internalPath = path.resolve(
__dirname,
`../fixtures/${sdkVersion}/fireboltCalls/index.js`
);

try {
if (fs.existsSync(internalPath)) {
data = fs.readFileSync(internalPath, 'utf-8');
console.log('data 2204: _______>>>>>', data);
return data;
} else {
console.log(`Internal fireboltCalls data file not found: ${internalPath}`);
}
} catch (err) {
console.error(`Error reading files:`, err);
}

return data;
},
/* write json or string to file
@param fileName - complete file name with path
@param data - json or string
Expand Down Expand Up @@ -310,9 +338,11 @@ module.exports = async (on, config) => {
if (fs.existsSync(tempReportEnv)) reportProperties.reportEnv = require(tempReportEnv);
let customReportData;
try {
customReportData = require('../fixtures/external/objects/customReportData.json');
customReportData = require(
`../fixtures/external/${sdkVersion}/objects/customReportData.json`
);
} catch (error) {
customReportData = require('../fixtures/customReportData.json');
customReportData = require(`../fixtures/${sdkVersion}/customReportData.json`);
}
reportProperties.isCombinedTestRun = process.env.CYPRESS_isCombinedTestRun;
reportProperties.customReportData = customReportData;
Expand Down
7 changes: 5 additions & 2 deletions cypress/plugins/localReportGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,13 @@ async function generateLocalReport(reportObj, jobId) {
// Move cucumber json to a separate directory and get the path
const cucumberDir = await filterCucumberJson(reportObj.cucumberReportFilePath);
let customReportData;
const sdkVersion = config.env.sdkVersion || 'latest';
try {
customReportData = require('../fixtures/external/objects/customReportData.json');
customReportData = require(
`../fixtures/external/${sdkVersion}/objects/customReportData.json`
);
} catch (error) {
customReportData = require('../fixtures/customReportData.json');
customReportData = require(`../fixtures/${sdkVersion}/customReportData.json`);
}
// Configure cucumber report options
reportEnv.jsonDir = cucumberDir;
Expand Down
3 changes: 2 additions & 1 deletion cypress/plugins/pluginUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ function preprocessDeviceData(config) {
logger.error('Device MAC address is required.');
}
const formattedDeviceMac = deviceMac.replace(/:/g, '').toUpperCase();
const jsonFilePath = `cypress/fixtures/external/devices/${formattedDeviceMac}.json`;
const sdkVersion = config.env.sdkVersion || 'latest';
const jsonFilePath = `cypress/fixtures/external/${sdkVersion}/devices/${formattedDeviceMac}.json`;
let deviceData;

try {
Expand Down
2 changes: 1 addition & 1 deletion cypress/plugins/testDataProcessor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs');
const jsonMerger = require('json-merger');
const CONSTANTS = require('../support/constants/constants');
const REGEXFORMATS = require('../fixtures/regexformats');
const REGEXFORMATS = require('../fixtures/latest/regexformats');
let envVariables;
const path = require('path');
const _ = require('lodash');
Expand Down
2 changes: 1 addition & 1 deletion cypress/plugins/testDataProcessor.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Currently supported requestType is params, context and content.
* Error validation
* Result validation
- Static Content Validation - Required content will be fetched from combined(fcs and config module) `default json` or from the corresponding `module json` files based on the precedence.
- `module.json` files reside in `fixtures/modules/` or `fixtures/external/modules/`
- `module.json` files reside in `fixtures/<sdkVersion>/modules/` or `fixtures/external/<sdkVersion>/modules/`

- Device Content Validation
- Content will be fetched from `devicMac.json` file when devicMac is present.
Expand Down
57 changes: 32 additions & 25 deletions cypress/support/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
let sdkVersion = 'latest';
const setSdkVersion = (version) => {
sdkVersion = version;
console.log('sdk version after set: ' + sdkVersion);
};

module.exports = {
ACTION: 'action',
ACTION_CORE: 'CORE',
Expand Down Expand Up @@ -44,7 +50,7 @@ module.exports = {
BEFORE_OPERATION: 'beforeOperation',
BEFORE_OPERATION_TAGS: 'beforeOperationTags',
BEFORE_OPERATION_FORMAT:
'Before operation object is not in proper array format, recheck the before objects in fixture/external/moduleReqId - getBeforeOperationObject',
'Before operation object is not in proper array format, recheck the before objects in fixture/external/<sdkVersion>/moduleReqId - getBeforeOperationObject',
BOOLEAN: 'boolean',
CAPABILITIES_INFO: 'capabilities.info',
CAPABILITIES_PERMITTED: 'capabilities.permitted',
Expand All @@ -58,25 +64,25 @@ module.exports = {
SUITE_COMMUNICATION_MODE: 'suiteCommunicationMode',
CONFIG: 'CONFIG',
CONFIG_IMPLEMENTATION_MISSING: 'Config module implementation missing',
CONFIG_MODULE_SETRESPONSE_PATH: 'cypress/fixtures/external/setResponseData.json',
CONFIG_MODULE_SETRESPONSE_PATH: `cypress/fixtures/external/${sdkVersion}/setResponseData.json`,
CONTENT: 'Content',
CONTEXT: 'Context',
CONTEXT_FILE_PATH: 'cypress/fixtures/apiObjectContext.json',
CONTEXT_FILE_PATH: `cypress/fixtures/${sdkVersion}/apiObjectContext.json`,
CORE: 'core',
CORRELATIONID: 'correlationId',
COUNTRYCODE: 'countryCode',
CUCUMBER: 'cucumber',
CURRENT_APP_ID: 'currentAppId',
CUSTOM_METHOD_PATH:
'https://github.com/rdkcentral/firebolt-certification-suite/blob/main/cypress/fixtures/docs/validations.md#custom',
CYPRESS_MODULES_PATH: 'cypress/fixtures/external/modules',
CYPRESS_MODULES_PATH: `cypress/fixtures/external/${sdkVersion}/modules`,
DATE: 'date',
DECIMAL: 'decimal',
DECODE: 'decode',
DECODEVALUE_JSON_PATH: 'decodeValue.json',
DEFAULT_DEVICE_DATA_PATH: 'cypress/fixtures/defaultDeviceData.json',
DEFAULT_DEVICE_DATA_PATH: `cypress/fixtures/${sdkVersion}/defaultDeviceData.json`,
DEFAULT_DIRECTORY: '/tmp/jsonReports/',
DEFAULT_PATH: 'cypress/fixtures/defaultTestData.json',
DEFAULT_PATH: `cypress/fixtures/${sdkVersion}/defaultTestData.json`,
DEFAULT_TEST_DATA: 'defaultTestData.json',
DEREFERENCE_OPENRPC: 'dereferenceOpenRPC',
DEVICE: 'device',
Expand Down Expand Up @@ -126,7 +132,7 @@ module.exports = {
ERROR_LIST: ['Method not found', 'Method Not Implemented'],
ERROR_NOT_UNDEFINED_CHECK: 'Error not undefined Check',
ERROR_NULL_CHECK: 'Error null Check',
ERROR_CONTENT_OBJECTS_PATH: 'cypress/fixtures/objects/errorContentObjects.json',
ERROR_CONTENT_OBJECTS_PATH: `cypress/fixtures/${sdkVersion}/objects/errorContentObjects.json`,
EVENT: 'event',
EVENT_ERROR_MSG: 'Event listener error validation',
EVENT_LISTENER_RESPONSE: 'eventListenerResponse',
Expand All @@ -153,11 +159,11 @@ module.exports = {
EXPECTED_JSON_IN_VALIDATION_OBJECTS:
'Expected JSON data should be defined in fixtures/objects/validationObjects/',
EXPECTING_ERROR: 'expectingError',
EXTERNAL_ERROR_CONTENT_OBJECTS_PATH: 'cypress/fixtures/external/objects/errorContentObjects.json',
EXTERNAL_DEVICES_PATH: 'cypress/fixtures/external/devices/',
EXTERNAL_MODULEREQID_PATH: 'cypress/fixtures/external/objects/moduleReqId/moduleReqId.json',
EXTERNAL_PATH: 'cypress/fixtures/external/modules/',
EXTERNAL_PREREQUISITE_DATA: './cypress/fixtures/external/PreRequisiteData.json',
EXTERNAL_ERROR_CONTENT_OBJECTS_PATH: `cypress/fixtures/external/${sdkVersion}/objects/errorContentObjects.json`,
EXTERNAL_DEVICES_PATH: `cypress/fixtures/external/${sdkVersion}/devices/`,
EXTERNAL_MODULEREQID_PATH: `cypress/fixtures/external/${sdkVersion}/objects/moduleReqId/moduleReqId.json`,
EXTERNAL_PATH: `cypress/fixtures/external/${sdkVersion}/modules/`,
EXTERNAL_PREREQUISITE_DATA: `./cypress/fixtures/external/${sdkVersion}/PreRequisiteData.json`,
EXTRACTEDAPI_PATH: 'extractedApiObject.apiResponse.',
FAIL: 'FAIL',
FAIL_ON_PUBSUB_CONNECTION_ERROR: 'failOnPubSubConnectionError',
Expand All @@ -171,26 +177,26 @@ module.exports = {
FCA_APP_LIST: 'fcaAppList',
FB_INTERACTIONLOGS: 'fbInteractionLogs',
FCS: 'fcs',
FCS_MODULEREQID_PATH: 'cypress/fixtures/objects/moduleReqId/moduleReqId.json',
FCS_SETRESPONSE_PATH: 'cypress/fixtures/setResponseData.json',
FCS_MODULEREQID_PATH: `cypress/fixtures/${sdkVersion}/objects/moduleReqId/moduleReqId.json`,
FCS_SETRESPONSE_PATH: `cypress/fixtures/${sdkVersion}/setResponseData.json`,
FCS_VALIDATION_JSON: 'fCSValidationjson',
FIREBOLT: 'firebolt',
FIREBOLTCALL: 'fireboltCall',
FIREBOLT_OBJECT_DOC_PATH:
'https://github.com/rdkcentral/firebolt-certification-suite/blob/main/cypress/fixtures/docs/dynamicObjects.md#firebolt-object',
FIREBOLT_VERSION: 'Firebolt Version',
FIREBOLTCALLS_FROM_CONFIGMODULE: 'cypress/fixtures/external/fireboltCalls/',
FIREBOLTCALLS_FROM_FCS: 'cypress/fixtures/fireboltCalls/',
FIREBOLTCALLS_FROM_CONFIGMODULE: `cypress/fixtures/external/${sdkVersion}/fireboltCalls/`,
FIREBOLTCALLS_FROM_FCS: `cypress/fixtures/${sdkVersion}/fireboltCalls/`,
FIREBOLTCONFIG: 'fireboltConfig',
FIREBOLTMOCK: 'fireboltMock',
FIREBOLTMOCK_FROM_CONFIGMODULE: 'cypress/fixtures/external/fireboltMocks/',
FIREBOLTMOCK_FROM_FCS: 'cypress/fixtures/fireboltMocks/',
FIREBOLTMOCK_FROM_CONFIGMODULE: `cypress/fixtures/external/${sdkVersion}/fireboltMocks/`,
FIREBOLTMOCK_FROM_FCS: `cypress/fixtures/${sdkVersion}/fireboltMocks/`,
FIREBOLT_SPECIFICATION_NEXT_URL: 'firebolt_specification_next_url',
FIREBOLT_SPECIFICATION_PROPOSED_URL: 'firebolt_specification_proposed_url',
FIREBOLT_SPECIFICATION_URL: 'firebolt_specification_url',
FIRST_PARTY_APP: '1st party app',
VALIDATION_OBJECTS_PATH: 'cypress/fixtures/objects/validationObjects/',
CONFIG_VALIDATION_OBJECTS_PATH: 'cypress/fixtures/external/objects/validationObjects/',
VALIDATION_OBJECTS_PATH: `cypress/fixtures/${sdkVersion}/objects/validationObjects/`,
CONFIG_VALIDATION_OBJECTS_PATH: `cypress/fixtures/external/${sdkVersion}/objects/validationObjects/`,
FIXTURE: 'fixture',
FIXTURE_DEFINED_PATH:
'Expected JSON data should be defined in fixtures/objects/validationObjects/',
Expand Down Expand Up @@ -277,7 +283,7 @@ module.exports = {
MODE_SDK: 'SDK',
MODE_TRANSPORT: 'Transport',
MODULEREQIDJSON: 'moduleReqIdJson',
MODULES_PATH: 'cypress/fixtures/modules/',
MODULES_PATH: `cypress/fixtures/${sdkVersion}/modules/`,
MODULE_NAMES: {
DEVICE: 'device',
ADVERTISING: 'advertising',
Expand Down Expand Up @@ -338,8 +344,8 @@ module.exports = {
PUB_SUB_PUBLISH_SUFFIX: 'pubSubPublishSuffix',
PUB_SUB_SUBSCRIBE_SUFFIX: 'pubSubSubscribeSuffix',
SETUPCHECK: 'Setup Check',
SETUPVALUES: 'external/setupValues.json',
SETUPVALUES_FILEPATH: 'cypress/fixtures/external/setupValues.json',
SETUPVALUES: `external/${sdkVersion}/setupValues.json`,
SETUPVALUES_FILEPATH: `cypress/fixtures/external/${sdkVersion}/setupValues.json`,
PREVIOUS_TEST_TYPE: 'previousTestType',
PROPOSED: 'proposed',
PUBLISH: 'publish',
Expand Down Expand Up @@ -489,8 +495,8 @@ module.exports = {
CREATE_MARKER: 'createMarker',
MODULE_OVERRIDES: ['fcs', 'performance'],
COMBINEDDEFAULTTESTDATA: 'combinedDefaultTestData',
CONFIG_DEFAULTTESTDATA_PATH: 'cypress/fixtures/external/defaultTestData.json',
FCS_DEFAULTTESTDATA_PATH: 'cypress/fixtures/defaultTestData.json',
CONFIG_DEFAULTTESTDATA_PATH: `cypress/fixtures/external/${sdkVersion}/defaultTestData.json`,
FCS_DEFAULTTESTDATA_PATH: `cypress/fixtures/${sdkVersion}/defaultTestData.json`,
ENV_SETUP_STATUS: 'environmentLaunched',
APP_LAUNCH_STATUS: 'appLaunched',
VISIBILITYSTATE_VALIDATION_REQ: ' Lifecycle visibility state validation ',
Expand Down Expand Up @@ -518,6 +524,7 @@ module.exports = {
FOREGROUND: 'FOREGROUND',
PERFORMANCE_VALIDATION: 'performanceValidation',
MARKER_CREATION_STATUS: 'markerCreationStatus',
setSdkVersion,
};
function getSanityReportPath() {
// Check if Cypress is defined, for cypress test context
Expand Down
9 changes: 6 additions & 3 deletions cypress/support/cypress-commands/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ Cypress.Commands.add('updateRunInfo', () => {
return false;
}
const deviceMac = UTILS.getEnvVariable(CONSTANTS.DEVICE_MAC).replace(/:/g, '');
const deviceMacJson = `./cypress/fixtures/devices/${deviceMac}.json`;
const sdkVersion = UTILS.getEnvVariable(CONSTANTS.SDK_VERSION, false) || 'latest';
const deviceMacJson = `./cypress/fixtures/${sdkVersion}/devices/${deviceMac}.json`;
// Check if mac json file exists
cy.task('checkFileExists', deviceMacJson)
.then((exists) => {
Expand Down Expand Up @@ -434,7 +435,8 @@ Cypress.Commands.add('getDeviceDataFromThirdPartyApp', (method, params, action)
* cy.getLatestFireboltJsonFromFixtures()
*/
Cypress.Commands.add('getLatestFireboltJsonFromFixtures', () => {
cy.task('readFilesFromDir', 'cypress/fixtures/versions/').then((filesData) => {
const sdkVersion = UTILS.getEnvVariable(CONSTANTS.SDK_VERSION, false) || 'latest';
cy.task('readFilesFromDir', `cypress/fixtures/${sdkVersion}/versions/`).then((filesData) => {
try {
// Reading a greater version value from the versions folder.
const version = filesData
Expand Down Expand Up @@ -495,7 +497,8 @@ Cypress.Commands.add('getFireboltJsonData', () => {

// If cy.request fails, get specific firebolt.json from -cypress/fixtures/versions/${Cypress.env(CONSTANTS.SDK_VERSION)}/firebolt.json
else {
const configImportPath = `cypress/fixtures/versions/${UTILS.getEnvVariable(
const sdkVersion = UTILS.getEnvVariable(CONSTANTS.SDK_VERSION, false) || 'latest';
const configImportPath = `cypress/fixtures/${sdkVersion}/versions/${UTILS.getEnvVariable(
CONSTANTS.SDK_VERSION
)}/firebolt.json`;

Expand Down
20 changes: 15 additions & 5 deletions cypress/support/cypress-support/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,21 @@ const defaultDirectory = CONSTANTS.DEFAULT_DIRECTORY;
const jsonFile = CONSTANTS.JSON_FILE_EXTENSION;
const UTILS = require('./utils');
const path = require('path');
const fs = require('fs');
const logger = require('../../Logger')('main.js');
const setimmediate = require('setimmediate');
let appTransport;
const flatted = require('flatted');
const _ = require('lodash');
const internalV2FireboltCallsData = require('../../../fixtures/fireboltCalls/index');
const externalV2FireboltCallsData = require('../../../fixtures/external/fireboltCalls/index');
const internalV2FireboltMockData = require('../../../fixtures/fireboltCalls/index');
const externalV2FireboltMockData = require('../../../fixtures/external/fireboltCalls/index');
const sdkVersion = UTILS.getEnvVariable(CONSTANTS.SDK_VERSION, false) || 'latest';
console.log('2204 sdk version: ', sdkVersion);
const sample = require(`../../../fixtures/latest/fireboltCalls/index`);
console.log('2204 sdk version: ', sample);
// console.log('2204 file exists: ', fs.existsSync(sample));
let internalV2FireboltCallsData,
externalV2FireboltCallsData,
internalV2FireboltMockData,
externalV2FireboltMockData;

export default function (module) {
const config = new Config(module);
Expand All @@ -46,7 +52,11 @@ export default function (module) {

// before All
before(() => {
// Added below custom commands to clear cache and to reload browser
cy.task('getFireboltCallsData', { sdkVersion }).then((data) => {
internalV2FireboltCallsData = data;

console.log('2204 Internal Firebolt Calls Data:', internalV2FireboltCallsData);
});
cy.clearCache();
cy.wrap(UTILS.pubSubClientCreation(appTransport), {
timeout: CONSTANTS.SEVEN_SECONDS_TIMEOUT,
Expand Down
5 changes: 4 additions & 1 deletion cypress/support/cypress-support/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@
*/
function lifecycleHistorySchemaValidation(result, schema, lifecycleHistoryRecordType, envKey) {
const schemaValidationResult = validator.validate(result, schema);
const sdkVersion = getEnvVariable(

Check failure on line 437 in cypress/support/cypress-support/src/utils.js

View workflow job for this annotation

GitHub Actions / lint (20.x)

Replace `⏎····CONSTANTS.SDK_VERSION⏎··` with `CONSTANTS.SDK_VERSION`
CONSTANTS.SDK_VERSION
) || 'latest';

if (
lifecycleHistoryRecordType == CONSTANTS.TASK.STOPLIFECYCLERECORDING &&
Expand All @@ -444,7 +447,7 @@
) {
assert(
false,
`Schema Validation Failed: Response must follow the format specified in "cypress/fixtures/schemas/lifecycleHistorySchema.json", Errors: ${schemaValidationResult.errors} `
`Schema Validation Failed: Response must follow the format specified in "cypress/fixtures/${sdkVersion}/schemas/lifecycleHistorySchema.json", Errors: ${schemaValidationResult.errors} `
);
}

Expand Down
4 changes: 3 additions & 1 deletion cypress/support/validations/decodeValidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
const REGEXFORMATS = require('../../fixtures/regexformats');
import UTILS from '../cypress-support/src/utils';
const CONSTANTS = require('../constants/constants');
const sdkVersion = UTILS.getEnvVariable(CONSTANTS.SDK_VERSION) || 'latest';
const REGEXFORMATS = require(`../../fixtures/${sdkVersion}/regexformats`);
const RegexParser = require('regex-parser');

/**
Expand Down
Loading
Loading