diff --git a/scrap/chartFormat.js b/scrap/chartFormat.js deleted file mode 100644 index 5a78892..0000000 --- a/scrap/chartFormat.js +++ /dev/null @@ -1,159 +0,0 @@ -var chart = new Chart(ctx, { - type: 'doughnut', - data: { - datasets: [{ - data: array, - backgroundColor: [ - "#fd5a3e", - "#ffd050", - "#aaaaaa", - "#97cc64", - "#d35ebe" - ], - borderColor: "rgba(255, 255, 255, 0.5)" - }], - - labels: [ - 'Failed', - 'Broken', - 'Skipped', - 'Passed', - 'Unknown' - ] - }, - options: { - legend: { - display: true, - labels: { - boxWidth: 15 - }, - position: 'bottom' - } - } -}); - -///////////////////////////////////////////////////////////////////////////////////// - -var chart = new Chart(ctx, { - type: 'bar', - data: { - datasets: [{ - data: array, - backgroundColor: "#6dd6cd", - borderWidth: 1, - borderColor: "#46827d" - }], - labels: [ - 'blocker', - 'critical', - 'normal', - 'minor', - 'trivial' - ] - }, - options: { - legend: { - display: false - } - } -}); - -///////////////////////////////////////////////////////////////////////////////////// - -var chart = new Chart(ctx, { - type: 'bar', - data: { - labels: ['Category'], - datasets: [ - { - label: 'Product defects', - backgroundColor: "#800026", - data: [arrayN[0]], - borderWidth: 1, - borderColor: "#63001e" - }, - { - label: 'Test defects', - backgroundColor: "#d31121", - data: [arrayN[1]], - borderWidth: 1, - borderColor: "#a30d19" - }, - { - label: 'Outdated tests', - backgroundColor: "#fa5c2e", - data: [arrayN[2]], - borderWidth: 1, - borderColor: "#cf4b25" - }, - { - label: 'Infrastructure problems', - backgroundColor: "#feab4b", - data: [arrayN[3]], - borderWidth: 1, - borderColor: "#cc893b" - }, - { - label: 'Ignored tests', - backgroundColor: "#fee087", - data: [arrayN[4]], - borderWidth: 1, - borderColor: "#d1b86d" - } - ] - }, - options: { - legend: { - display: true, - labels: { - boxWidth: 15 - }, - position: 'bottom' - }, - scales:{ - xAxes: [{ - ticks: { - display: false - } - }], - yAxes: [{ - ticks: { - beginAtZero: true - } - }] - } - } -}); - -fileJSON = { - graphs: [ - { - name: "Coverage", - type: "doughnut", - items: [ - { - label: "Covered", - value: 74, - color: "#97cc64" - }, - { - label: "Not covered", - value: 26, - color: "#fd5a3e" - } - ], - legendDisplay: true, - sameColor: false - } - ] -} - -function fib(n){ - var res; - if(n > 1) { - res = fib(n-1) + fib(n-2); - } else { - res = 1 - } - return res; -} \ No newline at end of file diff --git a/scrap/config.json b/scrap/config.json deleted file mode 100644 index 048416f..0000000 --- a/scrap/config.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "type":"directory", - "paths":[ - { - "id":"1", - "path":"file1", - "last_modified":"06/04/2021" - }, - { - "id":"2", - "path":"file2", - "last_modified":"06/04/2021" - }, - { - "id":"3", - "path":"file3", - "last_modified":"06/04/2021" - } - ] - } diff --git a/scrap/config_old.html b/scrap/config_old.html deleted file mode 100644 index d2e77dd..0000000 --- a/scrap/config_old.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - Allure Report - - - - - - - - - - - - - - - - - -
-
-
- Logo Multiview -
-
- Admin -
-
-
- - -
-
-

¡Hi admin!

-
-
-
-

Settings

-
-
Please, indicate how do you want to generate the summary results:
-
- - -
-
- - -
-
-
-
-
-
-
-
- - -
-
-
- - - - \ No newline at end of file diff --git a/scrap/general.html b/scrap/general.html deleted file mode 100644 index 78bd0e4..0000000 --- a/scrap/general.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - Allure Report - - - - - - - - - - - - - - - - - -
- Logo Multiview - Admin -
- - -
- -
- - -
- - - - \ No newline at end of file diff --git a/scrap/general_old.html b/scrap/general_old.html deleted file mode 100644 index 2deea73..0000000 --- a/scrap/general_old.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Allure Report - - - - - - - - - - - - - - - - - - - -
-
-
- Logo Multiview -
-
- Admin -
-
-
- - -
- -
-
-
-
-
-
- - - - \ No newline at end of file diff --git a/scrap/index.html b/scrap/index.html deleted file mode 100644 index 077cb13..0000000 --- a/scrap/index.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - Allure Report - - - - - - - - - - - - - - - -
- Logo Multiview - Admin -
- - -
-
-
- -
-
-
-
- - -
- -
-
-
- -
-
-
-
- - -
-
-
-
- - -
-
-
-
- -
-
-
- -
- -
- -
-
-
- -
- -
- - - - \ No newline at end of file diff --git a/scrap/index_old.html b/scrap/index_old.html deleted file mode 100644 index 574f5f1..0000000 --- a/scrap/index_old.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - Allure Report - - - - - - - - - - - - - - - - - -
-
-
- Logo Multiview -
-
- Admin -
-
-
- - -
-
-
- -
-
-
-
- -
-
-
-
- - -
-
-
-
- - -
-
-
-
- -
-
-
- -
- -
- -
-
-
- -
- -
- - - - \ No newline at end of file diff --git a/scrap/info_old.html b/scrap/info_old.html deleted file mode 100644 index 15b87ef..0000000 --- a/scrap/info_old.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - Allure Report - - - - - - - - - - - - - - - -
-
-
- Logo Multiview -
-
- Admin -
-
-
- - -
-
-

¡Bienvenidx a la extensión 'Multiview' para informes generados con Allure!

-
-
-
-

¿Qué es la extensión 'Multiview'?

-
-

- Multiview te ayudará a tener todos tus informes a solo un par clicks. - Tendrás disponible un resumen de todas las APIS que estén en proceso de testing - dándote la oportunidad de tener recogida toda la información que necesitas para trabajar fácil y cómodamente. -

-
-

¿Quiénes somos?

-
-

- Actualmente este proyecto está siendo desarrollando por la alumna Yoana Dimitrova Penkova, - formando parte de su trabajo fin de grado en el estudio de Ingeniería Informática del Software. - El proyecto está siendo dirigido por Sergio Segura Rueda, - profesor titular de la Escuela Técnica Superior de Ingeniería Informática de la Universidad de Sevilla. -

-
-
- -
-
-

Contacta con el equipo de 'Multiview'

-

Correo: multiviewtfg@gmail.com

-
-
-
-
- - - - \ No newline at end of file diff --git a/scrap/logo.gif b/scrap/logo.gif deleted file mode 100644 index 62af615..0000000 Binary files a/scrap/logo.gif and /dev/null differ diff --git a/scrap/logo_old.png b/scrap/logo_old.png deleted file mode 100644 index fbc68c3..0000000 Binary files a/scrap/logo_old.png and /dev/null differ diff --git a/scrap/new.html b/scrap/new.html deleted file mode 100644 index 32e750a..0000000 --- a/scrap/new.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - Allure Report - - - - - - - - - - - - -
-
- -
-
- - - \ No newline at end of file diff --git a/scrap/styles-own.css b/scrap/styles-own.css deleted file mode 100644 index e7eac2a..0000000 --- a/scrap/styles-own.css +++ /dev/null @@ -1,142 +0,0 @@ -@charset "UTF-8"; - -html, body{ - height: 100%; - overflow: auto; -} - -/*INDIVIDUAL PAGE*/ - -/*navigation*/ - -#link{ - font-size: 1.4rem; -} - -#title-cont{ - background-color: #f8f9fa; -} - -#nav-cont{ - background-color: #f8f9fa; - padding-left: 0%; - padding-right: 0%; -} - -/*display widgets*/ - -.auto-grid { - --auto-grid-min-size: 16rem; - - display: grid; - grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr)); - grid-gap: 1rem; - list-style-type:none; - padding-left: 10px; - padding-right: 10px; -} - -.apiSummary{ - cursor: pointer; -} - -.widget{ - width: 60%; - align-items: center; - margin: auto; - margin-right: 0%; -} - -.widget_summary{ - margin: 0.5% 0.5% 0.5% 0.5%; - border: 1px solid #E7E7E7; - border-radius: 20px; -} - -.widget_summary:hover{ - margin: 0.5% 0.5% 0.5% 0.5%; - border: 2px solid #ADADAD; - border-radius: 20px; -} - -.chart-text { - fill: #000; - -moz-transform: translateY(0.25em); - -ms-transform: translateY(0.25em); - -webkit-transform: translateY(0.25em); - transform: translateY(0.25em); -} - -.chart-number { - font-size: 0.7em; - line-height: 1; - text-anchor: middle; - -moz-transform: translateY(-0.25em); - -ms-transform: translateY(-0.25em); - -webkit-transform: translateY(-0.25em); - transform: translateY(-0.25em); -} - -.chart-label { - font-size: 0.3em; - text-transform: uppercase; - text-anchor: middle; - -moz-transform: translateY(0.7em); - -ms-transform: translateY(0.7em); - -webkit-transform: translateY(0.7em); - transform: translateY(0.7em); -} - -.description{ - position: relative; - width: 34%; - float:left; - margin: 3% 3% 3% 3%; -} - -#API_title{ - font-size: 17px; - text-align: center; - text-anchor: middle; - -moz-transform: translateY(-0.25em); - -ms-transform: translateY(-0.25em); - -webkit-transform: translateY(-0.25em); - transform: translateY(-0.25em); - margin-top: 20%; -} - -#API_description{ - color: #8a8a8a; - font-size: 10px; - text-anchor: middle; - text-align: left; - -moz-transform: translateY(-0.25em); - -ms-transform: translateY(-0.25em); - -webkit-transform: translateY(-0.25em); - transform: translateY(-0.25em); - padding-left: 5%; - padding-right: 5%; - margin-top: 20%; -} - -/*General Page*/ - -#sum-col{ - position: relative; - border: 1px solid #dee2e6; - border-radius: 10px; - margin: 10px; - width: 30%; -} - -/*Administration panel*/ -#btn-login{ - float: right; - border: 1px solid #6c757d; - width: 5%; - min-width: 75px; - max-width: 80px; - max-height: 35px; - margin: 15%; - margin-right: 0%; -} \ No newline at end of file diff --git a/scrap/test.css b/scrap/test.css deleted file mode 100644 index e69de29..0000000 diff --git a/scrap/testDataFunctions.js b/scrap/testDataFunctions.js deleted file mode 100644 index 6bfa6a8..0000000 --- a/scrap/testDataFunctions.js +++ /dev/null @@ -1,19 +0,0 @@ -//loading test data will help test other functionalities -function loadTestData(){ - deleteWidgets(); - - var paths = ["./testData/summary1.json", "./testData/summary2.json", - "./testData/summary3.json", "./testData/summary4.json", - "./testData/summary5.json", "./testData/summary6.json", - "./testData/summary7.json"]; - - paths.forEach(function(path){ - readJSON(path, "#"); - }) -} - -//in case we want to start fresh on a blank page -function eraseTestData(){ - deleteWidgets(); - document.getElementById("pagesAccess").innerHTML = ""; -} \ No newline at end of file diff --git a/testData/summary1.json b/testData/summary1.json deleted file mode 100644 index 9f82071..0000000 --- a/testData/summary1.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "reportName" : "Datum", - "testRuns" : [ ], - "statistic" : { - "failed" : 4, - "broken" : 5, - "skipped" : 3, - "passed" : 9, - "unknown" : 5, - "total" : 26 - }, - "time" : { } -} \ No newline at end of file diff --git a/testData/summary2.json b/testData/summary2.json deleted file mode 100644 index f26052a..0000000 --- a/testData/summary2.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "reportName" : "Newdora", - "testRuns" : [ ], - "statistic" : { - "failed" : 3, - "broken" : 7, - "skipped" : 8, - "passed" : 2, - "unknown" : 10, - "total" : 30 - }, - "time" : { } -} \ No newline at end of file diff --git a/testData/summary3.json b/testData/summary3.json deleted file mode 100644 index 44c03dc..0000000 --- a/testData/summary3.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "reportName" : "Google Pay", - "testRuns" : [ ], - "statistic" : { - "failed" : 6, - "broken" : 10, - "skipped" : 5, - "passed" : 8, - "unknown" : 7, - "total" : 36 - }, - "time" : { } -} \ No newline at end of file diff --git a/testData/summary4.json b/testData/summary4.json deleted file mode 100644 index ef972bd..0000000 --- a/testData/summary4.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "reportName" : "Google Drive", - "testRuns" : [ ], - "statistic" : { - "failed" : 8, - "broken" : 6, - "skipped" : 1, - "passed" : 8, - "unknown" : 9, - "total" : 32 - }, - "time" : { } -} \ No newline at end of file diff --git a/testData/summary5.json b/testData/summary5.json deleted file mode 100644 index b8db5b9..0000000 --- a/testData/summary5.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "reportName" : "Spotify", - "testRuns" : [ ], - "statistic" : { - "failed" : 1, - "broken" : 5, - "skipped" : 3, - "passed" : 1, - "unknown" : 7, - "total" : 17 - }, - "time" : { } -} \ No newline at end of file diff --git a/testData/summary6.json b/testData/summary6.json deleted file mode 100644 index 86c6852..0000000 --- a/testData/summary6.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "reportName" : "YouTube", - "testRuns" : [ ], - "statistic" : { - "failed" : 10, - "broken" : 5, - "skipped" : 1, - "passed" : 9, - "unknown" : 4, - "total" : 29 - }, - "time" : { } -} \ No newline at end of file diff --git a/testData/summary7.json b/testData/summary7.json deleted file mode 100644 index 91df6b2..0000000 --- a/testData/summary7.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "reportName" : "Blender", - "testRuns" : [ ], - "statistic" : { - "failed" : 8, - "broken" : 6, - "skipped" : 9, - "passed" : 8, - "unknown" : 2, - "total" : 33 - }, - "time" : { } -} \ No newline at end of file