├── .circleci └── config.yml ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── _config.yml ├── bin └── walnut ├── example ├── features │ ├── api.feature │ ├── sample.feature │ └── soap.feature ├── locators │ └── locators.json ├── params │ └── my-params.json └── templates │ └── input_CalcPrazo.1.json ├── jest.config.js ├── package.json ├── src ├── index.js ├── mtest.js ├── step_defs │ ├── api │ │ ├── common-steps.js │ │ ├── request-steps.js │ │ ├── response-steps.js │ │ └── soap-steps.js │ ├── common.js │ ├── form.js │ ├── page.js │ └── validation.js └── support │ ├── api │ ├── client.js │ └── soapclient.js │ ├── expressions │ ├── expCNPJ.js │ ├── expCPF.js │ ├── expConcatenate.js │ ├── expMath.js │ ├── expNow.js │ ├── expRandom.js │ ├── expToNumber.js │ └── interpreter.js │ ├── helpers │ ├── common.js │ ├── element.js │ ├── file.js │ ├── flattenObject.js │ ├── index.js │ ├── logger.js │ ├── page.js │ ├── params.js │ ├── string.js │ └── variables.js │ ├── parser │ ├── jsonparser.js │ └── xmlparser.js │ ├── world.js │ └── world.old.js ├── test ├── samples │ ├── locators.json │ ├── params.json │ └── store.json └── support │ ├── api │ └── client.test.js │ ├── expressions │ ├── expCNPJ.test.js │ ├── expCPF.test.js │ ├── expConcatenate.test.js │ ├── expMath.test.js │ ├── expNow.test.js │ ├── expRandom.test.js │ ├── expToNumber.test.js │ └── interpreter.test.js │ ├── helper │ ├── common.test.js │ ├── element.test.js │ ├── file.test.js │ ├── params.test.js │ ├── string.test.js │ └── variables.test.js │ └── parser │ └── jsonparser.test.js └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/_config.yml -------------------------------------------------------------------------------- /bin/walnut: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../src/index.js'); 3 | -------------------------------------------------------------------------------- /example/features/api.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/example/features/api.feature -------------------------------------------------------------------------------- /example/features/sample.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/example/features/sample.feature -------------------------------------------------------------------------------- /example/features/soap.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/example/features/soap.feature -------------------------------------------------------------------------------- /example/locators/locators.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/example/locators/locators.json -------------------------------------------------------------------------------- /example/params/my-params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/example/params/my-params.json -------------------------------------------------------------------------------- /example/templates/input_CalcPrazo.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/example/templates/input_CalcPrazo.1.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | "testEnvironment": "node" 4 | } 5 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/package.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/index.js -------------------------------------------------------------------------------- /src/mtest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/mtest.js -------------------------------------------------------------------------------- /src/step_defs/api/common-steps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/api/common-steps.js -------------------------------------------------------------------------------- /src/step_defs/api/request-steps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/api/request-steps.js -------------------------------------------------------------------------------- /src/step_defs/api/response-steps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/api/response-steps.js -------------------------------------------------------------------------------- /src/step_defs/api/soap-steps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/api/soap-steps.js -------------------------------------------------------------------------------- /src/step_defs/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/common.js -------------------------------------------------------------------------------- /src/step_defs/form.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/form.js -------------------------------------------------------------------------------- /src/step_defs/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/page.js -------------------------------------------------------------------------------- /src/step_defs/validation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/step_defs/validation.js -------------------------------------------------------------------------------- /src/support/api/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/api/client.js -------------------------------------------------------------------------------- /src/support/api/soapclient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/api/soapclient.js -------------------------------------------------------------------------------- /src/support/expressions/expCNPJ.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/expCNPJ.js -------------------------------------------------------------------------------- /src/support/expressions/expCPF.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/expCPF.js -------------------------------------------------------------------------------- /src/support/expressions/expConcatenate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/expConcatenate.js -------------------------------------------------------------------------------- /src/support/expressions/expMath.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/expMath.js -------------------------------------------------------------------------------- /src/support/expressions/expNow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/expNow.js -------------------------------------------------------------------------------- /src/support/expressions/expRandom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/expRandom.js -------------------------------------------------------------------------------- /src/support/expressions/expToNumber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/expToNumber.js -------------------------------------------------------------------------------- /src/support/expressions/interpreter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/expressions/interpreter.js -------------------------------------------------------------------------------- /src/support/helpers/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/common.js -------------------------------------------------------------------------------- /src/support/helpers/element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/element.js -------------------------------------------------------------------------------- /src/support/helpers/file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/file.js -------------------------------------------------------------------------------- /src/support/helpers/flattenObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/flattenObject.js -------------------------------------------------------------------------------- /src/support/helpers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/index.js -------------------------------------------------------------------------------- /src/support/helpers/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/logger.js -------------------------------------------------------------------------------- /src/support/helpers/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/page.js -------------------------------------------------------------------------------- /src/support/helpers/params.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/params.js -------------------------------------------------------------------------------- /src/support/helpers/string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/string.js -------------------------------------------------------------------------------- /src/support/helpers/variables.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/helpers/variables.js -------------------------------------------------------------------------------- /src/support/parser/jsonparser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/parser/jsonparser.js -------------------------------------------------------------------------------- /src/support/parser/xmlparser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/parser/xmlparser.js -------------------------------------------------------------------------------- /src/support/world.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/world.js -------------------------------------------------------------------------------- /src/support/world.old.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/src/support/world.old.js -------------------------------------------------------------------------------- /test/samples/locators.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/samples/locators.json -------------------------------------------------------------------------------- /test/samples/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/samples/params.json -------------------------------------------------------------------------------- /test/samples/store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/samples/store.json -------------------------------------------------------------------------------- /test/support/api/client.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/api/client.test.js -------------------------------------------------------------------------------- /test/support/expressions/expCNPJ.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/expCNPJ.test.js -------------------------------------------------------------------------------- /test/support/expressions/expCPF.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/expCPF.test.js -------------------------------------------------------------------------------- /test/support/expressions/expConcatenate.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/expConcatenate.test.js -------------------------------------------------------------------------------- /test/support/expressions/expMath.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/expMath.test.js -------------------------------------------------------------------------------- /test/support/expressions/expNow.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/expNow.test.js -------------------------------------------------------------------------------- /test/support/expressions/expRandom.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/expRandom.test.js -------------------------------------------------------------------------------- /test/support/expressions/expToNumber.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/expToNumber.test.js -------------------------------------------------------------------------------- /test/support/expressions/interpreter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/expressions/interpreter.test.js -------------------------------------------------------------------------------- /test/support/helper/common.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/helper/common.test.js -------------------------------------------------------------------------------- /test/support/helper/element.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/helper/element.test.js -------------------------------------------------------------------------------- /test/support/helper/file.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/helper/file.test.js -------------------------------------------------------------------------------- /test/support/helper/params.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/helper/params.test.js -------------------------------------------------------------------------------- /test/support/helper/string.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/helper/string.test.js -------------------------------------------------------------------------------- /test/support/helper/variables.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/helper/variables.test.js -------------------------------------------------------------------------------- /test/support/parser/jsonparser.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/test/support/parser/jsonparser.test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmendesas/walnutjs/HEAD/yarn.lock --------------------------------------------------------------------------------