removed username from .env file in setup script

This commit is contained in:
David Baldwynn 2017-11-21 09:59:42 -08:00
parent 7107bab614
commit a08e5c5317
14 changed files with 1 additions and 139 deletions

View File

@ -242,6 +242,7 @@ var createENVFile = function() {
var username = answers['username'];
var pass = answers['password'];
delete answers['email'];
delete answers['username'];
delete answers['password'];
envfile.stringify(answers, function (err, str) {

View File

@ -1,17 +0,0 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
# Apply for all files
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

9
selenium/.gitignore vendored
View File

@ -1,9 +0,0 @@
.DS_Store
.idea
node_modules
npm-debug.log
uirecorder.log
reports
screenshots/**/*.png
screenshots/**/*.html
screenshots/**/*.json

View File

@ -1,27 +0,0 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug UIRecorder Local",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"cwd": "${workspaceRoot}",
"args": ["--reporter", "mochawesome-uirecorder", "${file}"],
"env": {
"webdriver": "127.0.0.1"
}
},
{
"type": "node",
"request": "launch",
"name": "Debug UIRecorder Default",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"cwd": "${workspaceRoot}",
"args": ["--reporter", "mochawesome-uirecorder", "${file}"]
}
]
}

View File

@ -1,28 +0,0 @@
UI Recorder test sample project
================
It's a UI Recorder test sample project.
Save your test code here.
Get more info: [http://uirecorder.com/](http://uirecorder.com/)
How to run test case?
================
1. npm install
2. source run.sh ( Linux|Mac ) or run.bat ( Windows )
How to dock jenkins?
================
1. Add commands
source ./install.sh
source ./run.sh
2. Add reports
> JUnit: reports/index.xml
> HTML: reports/

View File

@ -1 +0,0 @@
Please save common test case here.

View File

@ -1,14 +0,0 @@
{
"webdriver": {
"host": "127.0.0.1",
"port": "4444",
"browsers": "chrome"
},
"vars": {},
"recorder": {
"pathAttrs": "data-id,data-name,type,data-type,role,data-role,data-value",
"attrValueBlack": "",
"classValueBlack": "",
"hideBeforeExpect": ""
}
}

View File

View File

@ -1,4 +0,0 @@
ls ~/nvm || git clone https://github.com/creationix/nvm.git ~/nvm
source ~/nvm/nvm.sh
nvm install v7.10.0
npm install

View File

@ -1,25 +0,0 @@
{
"name": "uirecorderTest",
"version": "1.0.0",
"description": "",
"main": "",
"dependencies": {
"chai": "3.5.0",
"jwebdriver": "2.2.4",
"mocha": "3.1.2",
"mocha-parallel-tests": "1.2.4",
"mochawesome-uirecorder": "1.5.22",
"resemblejs-node": "1.0.0",
"selenium-standalone": "6.x.x"
},
"devDependencies": {
},
"scripts": {
"installdriver": "./node_modules/.bin/selenium-standalone install --drivers.firefox.baseURL=http://npm.taobao.org/mirrors/geckodriver --baseURL=http://npm.taobao.org/mirrors/selenium --drivers.chrome.baseURL=http://npm.taobao.org/mirrors/chromedriver --drivers.ie.baseURL=http://npm.taobao.org/mirrors/selenium",
"server": "./node_modules/.bin/selenium-standalone start",
"test": "./node_modules/.bin/mocha \"*/**/*.spec.js\" --reporter mochawesome-uirecorder --bail",
"singletest": "./node_modules/.bin/mocha --reporter mochawesome-uirecorder --bail",
"paralleltest": "./node_modules/.bin/mocha-parallel-tests \"*/**/*.spec.js\" --reporter mochawesome-uirecorder --max-parallel 5 --bail"
},
"author": ""
}

View File

@ -1,7 +0,0 @@
@echo off
if "%1" neq "" (
npm run singletest %1 %2
) else (
npm run paralleltest
)

View File

@ -1,5 +0,0 @@
if [ "$1" = "" ]; then
npm run paralleltest
else
npm run singletest $1 $2
fi

View File

@ -1 +0,0 @@
Test screenshots saved here.

View File

@ -1 +0,0 @@
Please save upload files here.