allure-commandline
Advanced tools
Comparing version 2.0.0-BETA7 to 2.0.0
'use strict'; | ||
allure.api.addTranslation('en', { | ||
tab: { | ||
behaviors: { | ||
name: 'Behaviors' | ||
} | ||
}, | ||
widget: { | ||
behaviors: { | ||
name: 'Features by stories', | ||
showAll: 'show all' | ||
} | ||
} | ||
}); | ||
allure.api.addTranslation('ru', { | ||
tab: { | ||
behaviors: { | ||
name: 'Функциональность' | ||
} | ||
}, | ||
widget: { | ||
behaviors: { | ||
name: 'Функциональность', | ||
showAll: 'показать все' | ||
} | ||
} | ||
}); | ||
allure.api.addTab('behaviors', { | ||
title: 'Behaviors', icon: 'fa fa-list', | ||
title: 'tab.behaviors.name', icon: 'fa fa-list', | ||
route: 'behaviors(/:testcaseId)', | ||
@@ -9,3 +38,3 @@ onEnter: (function () { | ||
routeParams: routeParams, | ||
tabName: 'Behaviors', | ||
tabName: 'tab.behaviors.name', | ||
baseUrl: 'behaviors', | ||
@@ -18,5 +47,6 @@ url: 'data/behaviors.json' | ||
allure.api.addWidget('behaviors', allure.components.WidgetStatusView.extend({ | ||
title: 'Features by stories', | ||
title: 'widget.behaviors.name', | ||
baseUrl: 'behaviors', | ||
showLinks: false, | ||
showAllText: 'widget.behaviors.showAll' | ||
})); |
'use strict'; | ||
allure.api.addTranslation('en', { | ||
tab: { | ||
packages: { | ||
name: 'Packages' | ||
} | ||
} | ||
}); | ||
allure.api.addTranslation('ru', { | ||
tab: { | ||
packages: { | ||
name: 'Пакеты' | ||
} | ||
} | ||
}); | ||
allure.api.addTab('packages', { | ||
title: 'Packages', icon: 'fa fa-align-left', | ||
title: 'tab.packages.name', icon: 'fa fa-align-left', | ||
route: 'packages(/:testcaseId)', | ||
@@ -9,3 +26,3 @@ onEnter: (function () { | ||
routeParams: routeParams, | ||
tabName: 'Packages', | ||
tabName: 'tab.packages.name', | ||
baseUrl: 'packages', | ||
@@ -12,0 +29,0 @@ url: 'data/packages.json' |
@@ -18,2 +18,7 @@ (function () { | ||
var expectedImage = findImage('expected'); | ||
if (!diffImage && !actualImage && !expectedImage) { | ||
return '<span>Diff, actual and expected image have not been provided.</span>'; | ||
} | ||
if (type === 'diff') { | ||
@@ -20,0 +25,0 @@ if (!diffImage) { |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "2.0.0-BETA7", | ||
"version": "2.0.0", | ||
"description": "Wrapper to install Allure-commandline via NPM", | ||
@@ -9,0 +9,0 @@ "main": "index.js", |
@@ -11,3 +11,3 @@ # Allure Commandline | ||
1. Allure requires Java 7 or higher | ||
1. Allure requires [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) or higher | ||
2. `npm install -g allure-commandline --save-dev` | ||
@@ -42,3 +42,4 @@ | ||
1. Download Allure-commandline package: `./fetch-sources <version>` | ||
2. Pubslish result to NPM: `npm publish` | ||
2. Update package version `npm version 2.0.0-BETAX` (because NPM require triple numbers in version, like 0.0.0) | ||
3. Pubslish result to NPM: `npm publish --tag beta` (while Allure2 is not stable) | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7656415
193
1
44
1