summaryrefslogtreecommitdiff
path: root/2/plugins/behaviors/index.js
diff options
context:
space:
mode:
authorromangraef <romangraef@users.noreply.github.com>2021-08-12 23:08:49 +0000
committerromangraef <romangraef@users.noreply.github.com>2021-08-12 23:08:49 +0000
commit2d930ff2584477b3c7ecda22110ae021db1a7767 (patch)
tree895b8bbb46a82aebf35b5a05d4deecaec0a52f0c /2/plugins/behaviors/index.js
downloadwebos-2d930ff2584477b3c7ecda22110ae021db1a7767.tar.gz
webos-2d930ff2584477b3c7ecda22110ae021db1a7767.tar.bz2
webos-2d930ff2584477b3c7ecda22110ae021db1a7767.zip
Automated deployment: Thu Aug 12 23:08:49 UTC 2021 62d3fcb7500e623b8c4a1b79c2e271121c3ce794
Diffstat (limited to '2/plugins/behaviors/index.js')
-rw-r--r--2/plugins/behaviors/index.js178
1 files changed, 178 insertions, 0 deletions
diff --git a/2/plugins/behaviors/index.js b/2/plugins/behaviors/index.js
new file mode 100644
index 0000000..ecde54e
--- /dev/null
+++ b/2/plugins/behaviors/index.js
@@ -0,0 +1,178 @@
+'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.addTranslation('zh', {
+ tab: {
+ behaviors: {
+ name: '功能'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: '特性场景',
+ showAll: '显示所有'
+ }
+ }
+});
+
+allure.api.addTranslation('de', {
+ tab: {
+ behaviors: {
+ name: 'Verhalten'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: 'Features nach Stories',
+ showAll: 'Zeige alle'
+ }
+ }
+});
+
+allure.api.addTranslation('nl', {
+ tab: {
+ behaviors: {
+ name: 'Functionaliteit'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: 'Features en story’s',
+ showAll: 'Toon alle'
+ }
+ }
+});
+
+allure.api.addTranslation('he', {
+ tab: {
+ behaviors: {
+ name: 'התנהגויות'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: 'תכונות לפי סיפורי משתמש',
+ showAll: 'הצג הכול'
+ }
+ }
+});
+
+allure.api.addTranslation('br', {
+ tab: {
+ behaviors: {
+ name: 'Comportamentos'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: 'Funcionalidades por história',
+ showAll: 'Mostrar tudo'
+ }
+ }
+});
+
+allure.api.addTranslation('ja', {
+ tab: {
+ behaviors: {
+ name: '振る舞い'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: 'ストーリー別の機能',
+ showAll: '全て表示'
+ }
+ }
+});
+
+allure.api.addTranslation('es', {
+ tab: {
+ behaviors: {
+ name: 'Funcionalidades'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: 'Funcionalidades por Historias de Usuario',
+ showAll: 'mostrar todo'
+ }
+ }
+});
+
+allure.api.addTranslation('kr', {
+ tab: {
+ behaviors: {
+ name: '동작'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: '스토리별 기능',
+ showAll: '전체 보기'
+ }
+ }
+});
+
+allure.api.addTranslation('fr', {
+ tab: {
+ behaviors: {
+ name: 'Comportements'
+ }
+ },
+ widget: {
+ behaviors: {
+ name: 'Thèmes par histoires',
+ showAll: 'Montrer tout'
+ }
+ }
+});
+
+allure.api.addTab('behaviors', {
+ title: 'tab.behaviors.name', icon: 'fa fa-list',
+ route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
+ onEnter: (function (testGroup, testResult, testResultTab) {
+ return new allure.components.TreeLayout({
+ testGroup: testGroup,
+ testResult: testResult,
+ testResultTab: testResultTab,
+ tabName: 'tab.behaviors.name',
+ baseUrl: 'behaviors',
+ url: 'data/behaviors.json',
+ csvUrl: 'data/behaviors.csv'
+ });
+ })
+});
+
+allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
+ rowTag: 'a',
+ title: 'widget.behaviors.name',
+ baseUrl: 'behaviors',
+ showLinks: true
+}));