jsgantt-improved
Advanced tools
Comparing version 2.8.1 to 2.8.2
@@ -10,2 +10,3 @@ "use strict"; | ||
page = new app_po_1.NgPackagedPage(); | ||
return page.navigateTo(); | ||
}); | ||
@@ -16,8 +17,7 @@ afterEach(function () { | ||
it('it should change language from pt to en', function () { | ||
page.navigateTo(); | ||
protractor_1.element(protractor_1.by.css('.gtaskheading.gresource')).getText() | ||
protractor_1.element(protractor_1.by.css('.gtaskheading.gres')).getText() | ||
.then(function (t) { | ||
expect(t).toEqual('Resource'); | ||
protractor_1.element(protractor_1.by.cssContainingText('option', 'pt')).click(); | ||
return protractor_1.element(protractor_1.by.css('.gtaskheading.gresource')).getText(); | ||
return protractor_1.element(protractor_1.by.css('.gtaskheading.gres')).getText(); | ||
}) | ||
@@ -24,0 +24,0 @@ .then(function (t) { |
@@ -522,3 +522,3 @@ "use strict"; | ||
vTmpDiv = draw_utils_1.newNode(vTaskInfo, 'div', null, 'gTILine gTId'); | ||
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['duration'] + ': '); | ||
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['dur'] + ': '); | ||
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskText', pTask.getDuration(_this.vFormat, _this.vLangs[_this.vLang])); | ||
@@ -533,3 +533,3 @@ } | ||
vTmpDiv = draw_utils_1.newNode(vTaskInfo, 'div', null, 'gTILine gTIr'); | ||
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['resource'] + ': '); | ||
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskLabel', _this.vLangs[_this.vLang]['res'] + ': '); | ||
draw_utils_1.newNode(vTmpDiv, 'span', null, 'gTaskText', pTask.getResource()); | ||
@@ -536,0 +536,0 @@ } |
@@ -13,3 +13,4 @@ "use strict"; | ||
'pMile': 'mile', | ||
'pRes': 'resource', | ||
'pRes': 'res', | ||
'pDuration': 'dur', | ||
'pComp': 'comp', | ||
@@ -16,0 +17,0 @@ 'pGroup': 'group', |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"description": "jsgantt-improved", | ||
@@ -11,3 +11,3 @@ "main": "dist/index.js", | ||
"watch": "onchange 'src/**' '*.ts' -- npm run dist", | ||
"watch:test": "onchange 'src/**/*.ts' '*.ts' -- npm run test", | ||
"watch:test": "onchange 'src/**/*.ts' '*.ts' 'e2e/**/*.ts' -- npm run test", | ||
"test": "npm start & node node_modules/.bin/protractor protractor.conf.js", | ||
@@ -33,3 +33,4 @@ "test-unit": "mocha -r ts-node/register test/**.ts", | ||
"dependencies": { | ||
"@types/node": "^12.0.10" | ||
"@types/node": "^12.0.10", | ||
"webdriver-manager": "^12.1.8" | ||
}, | ||
@@ -36,0 +37,0 @@ "devDependencies": { |
@@ -143,7 +143,14 @@ [![Build Status](https://travis-ci.com/jsGanttImproved/jsgantt-improved.svg?branch=master)](https://travis-ci.com/jsGanttImproved/jsgantt-improved) | ||
* Install global dependencies: `npm i -g browserify nodemon onchange tsc` | ||
* Run the demo, This will start a `localhost:8080` with a live example: `npm start`. | ||
* Run the demo, This will start a `localhost:8080` with a live example: `npm start`. | ||
* You can check the demo gantt that we use for testing features at: `http://127.0.0.1:8080/docs/demo.html` | ||
* Use `npm run watch` or do your change in `src` and restart this command refresh the changes. | ||
For testing use `npm run test` with e2e tests. | ||
For testing: | ||
* Install global dependencies: `npm i -g webdriver-manager` | ||
* Install selenium webdriver: `npm run webdriver`, it will install something like node_modules/webdriver-manager/selenium/chromedriver_88.0.4324.96.zip | ||
* Use `npm run test` with e2e tests. | ||
* Or use `npm run watch:test` to keep watching the tests | ||
Or help us donating... | ||
@@ -150,0 +157,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4821742
113346
160
2
+ Addedwebdriver-manager@^12.1.8
+ Addedadm-zip@0.5.16(transitive)
+ Addedajv@6.12.6(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedarray-union@1.0.2(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedarrify@1.0.1(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddel@2.2.2(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedglobby@5.0.0(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-path-cwd@1.0.0(transitive)
+ Addedis-path-in-cwd@1.0.1(transitive)
+ Addedis-path-inside@1.0.1(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-is-inside@1.0.2(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedpsl@1.15.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedq@1.5.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsax@1.4.1(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
+ Addedwebdriver-manager@12.1.9(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedxml2js@0.4.23(transitive)
+ Addedxmlbuilder@11.0.1(transitive)