Skip to content

Commit 8fe41f3

Browse files
committed
Merge branch 'develop' into Bug51-export-creation
2 parents 7e257c6 + 1acc3e7 commit 8fe41f3

File tree

114 files changed

+1453
-617
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1453
-617
lines changed

CHANGELOG.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
# CHANGELOG
22

3-
## 0.3.6 (unreleased)
3+
## 0.3.7 (2020-03-02)
4+
5+
Features:
6+
- Improve Test Run and Test List page performance -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/71)
7+
- Exclude Debug results from last results column -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/70)
8+
- Milestone: Add selected Suites to milestone -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/63)
9+
- Milestone: Add not executed suites -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/64)
10+
- Milestone: Add Due Date to Milestone. -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/61)
11+
- Milestone: Add possibility to Close Milestone. -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/62)
12+
- Test Runs List: Add possibility to Add milestone from Test Runs List. -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/59)
13+
14+
Bugfixes:
15+
- Fixed for downloading audits results from Audits Dashboard -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/51)
16+
17+
## 0.3.6 (2020-02-24)
418

519
Features:
620
- Move Administration to main Menu bar to make it more visible -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/58)
721
- Test Run view: Add stability indicator -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/60)
22+
- Add 'Show resolution slider' for Test Runs chart -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/43)
23+
- Move to Bootstrap 4.4.1 -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/66)
824

925
Bugfixes:
10-
- Fixed for downloading audits results from Audits Dashboard -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/51)
26+
- Csv export with special symbols -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/36)
1127

1228
## 0.3.5 (2020-02-15)
1329

e2e/api/editor.api.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export class EditorAPI {
5353
}
5454

5555
public async createResult(testResult: TestResult): Promise<TestResult> {
56+
testResult.project_id = this.project.id;
5657
return sendPost(Endpoints.testresult, undefined, testResult, this.token, this.project.id);
5758
}
5859

@@ -66,6 +67,7 @@ export class EditorAPI {
6667
}
6768

6869
public async getSuites(testSuite: TestSuite): Promise<TestSuite[]> {
70+
testSuite.project_id = this.project.id;
6971
return sendGet(Endpoints.suite, testSuite, this.token, this.project.id);
7072
}
7173

@@ -81,7 +83,23 @@ export class EditorAPI {
8183
return sendGet(Endpoints.testrun, testrun, this.token, this.project.id);
8284
}
8385

86+
public async getMilestones(milestone: Milestone): Promise<Milestone[]> {
87+
milestone.project_id = this.project.id;
88+
return sendGet(Endpoints.milestone, milestone, this.token, this.project.id);
89+
}
90+
8491
public async removeTestRun(testRunId: number) {
85-
return sendDelete(Endpoints.testrun, { id: testRunId, project_id: this.project.id}, null, this.token, this.project.id);
92+
return sendDelete(Endpoints.testrun, { id: testRunId, project_id: this.project.id }, null, this.token, this.project.id);
93+
}
94+
95+
public async addSuiteToMilestone(milestoneName: string, suiteName: string) {
96+
const milestone: Milestone = (await this.getMilestones({ name: milestoneName }))[0];
97+
const suite: TestSuite = (await this.getSuites({ name: suiteName }))[0];
98+
if (milestone.suites) {
99+
milestone.suites.push(suite);
100+
} else {
101+
milestone.suites = [suite];
102+
}
103+
return this.createMilestone(milestone);
86104
}
87105
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
Test,Test Suite,Result,Resolution,Comment,Finished
2-
"Login: should be able to login as admin","Login","Not Executed",,,"Invalid Date"
3-
"Login: should not be able to login with wrong username","Login","Not Executed",,,"Invalid Date"
4-
"Login: should not be able to login with wrong password","Login","Not Executed",,,"Invalid Date"
1+
Test,Test Suite,Test Run,Result,Resolution,Comment,Finished
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Test Name,Fail Reason,Last Results,Result,Resolution,Assignee,Comment
2+
"Test Feature with all results: step failed","step was failed !”#$%&’()*+,-./:;<=>?@[\]^_`{|}~","3","Failed","Not Assigned",,
3+
"Test Feature with all results: All passed","","5","Passed",,,
4+
"Test Feature with all results: Step skipped","step was skippedstep was skipped","3","Pending","Not Assigned",,

e2e/data/import/cucumber.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@
118118
}
119119
]
120120
}
121-
]
121+
]
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
[
2+
{
3+
"description": "Test Report",
4+
"keyword": "Feature",
5+
"name": "Test Feature with all results",
6+
"line": 2,
7+
"id": "Test-Report",
8+
"tags": [],
9+
"uri": "features/testdeature.feature",
10+
"elements": [
11+
{
12+
"id": "passed",
13+
"keyword": "Scenario",
14+
"line": 7,
15+
"name": "All passed",
16+
"tags": [],
17+
"type": "scenario",
18+
"steps": [
19+
{
20+
"arguments": [],
21+
"keyword": "Given ",
22+
"line": 8,
23+
"name": "passed step",
24+
"match": {
25+
"location": "Projects/nodejs-cucumber-sample-master/node_modules/cucumber/lib/support_code_library_builder/define_helpers.js:135"
26+
},
27+
"result": {
28+
"status": "passed",
29+
"duration": 7033
30+
}
31+
},
32+
{
33+
"arguments": [],
34+
"keyword": "Then ",
35+
"line": 9,
36+
"name": "passed step",
37+
"match": {
38+
"location": "Projects/nodejs-cucumber-sample-master/node_modules/cucumber/lib/support_code_library_builder/define_helpers.js:135"
39+
},
40+
"result": {
41+
"status": "passed",
42+
"duration": 86
43+
}
44+
}
45+
]
46+
}, {
47+
"id": "failed",
48+
"keyword": "Scenario",
49+
"line": 7,
50+
"name": "step failed",
51+
"tags": [],
52+
"type": "scenario",
53+
"steps": [
54+
{
55+
"arguments": [],
56+
"keyword": "Given ",
57+
"line": 8,
58+
"name": "passed step",
59+
"match": {
60+
"location": "Projects/nodejs-cucumber-sample-master/node_modules/cucumber/lib/support_code_library_builder/define_helpers.js:135"
61+
},
62+
"result": {
63+
"status": "passed",
64+
"duration": 7033
65+
}
66+
},
67+
{
68+
"arguments": [],
69+
"keyword": "Then ",
70+
"line": 9,
71+
"name": "failed step",
72+
"match": {
73+
"location": "Projects/nodejs-cucumber-sample-master/node_modules/cucumber/lib/support_code_library_builder/define_helpers.js:135"
74+
},
75+
"result": {
76+
"status": "failed",
77+
"duration": 86,
78+
"error_message": "step was failed !”#$%&’()*+,-./:;<=>?@[\\]^_`{|}~"
79+
}
80+
}
81+
]
82+
}, {
83+
"id": "failed",
84+
"keyword": "Scenario",
85+
"line": 7,
86+
"name": "Step skipped",
87+
"tags": [],
88+
"type": "scenario",
89+
"steps": [
90+
{
91+
"arguments": [],
92+
"keyword": "Given ",
93+
"line": 8,
94+
"name": "passed step",
95+
"match": {
96+
"location": "Projects/nodejs-cucumber-sample-master/node_modules/cucumber/lib/support_code_library_builder/define_helpers.js:135"
97+
},
98+
"result": {
99+
"status": "passed",
100+
"duration": 7033
101+
}
102+
},
103+
{
104+
"arguments": [],
105+
"keyword": "Then ",
106+
"line": 9,
107+
"name": "skipped step",
108+
"match": {
109+
"location": "Projects/nodejs-cucumber-sample-master/node_modules/cucumber/lib/support_code_library_builder/define_helpers.js:135"
110+
},
111+
"result": {
112+
"status": "skipped",
113+
"duration": 86,
114+
"error_message": "step was skipped"
115+
}
116+
}
117+
]
118+
}
119+
]
120+
}
121+
]

e2e/data/import/milestoneView/login.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@
118118
}
119119
]
120120
}
121-
]
121+
]

e2e/data/import/milestoneView/testRunManager.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@
118118
}
119119
]
120120
}
121-
]
121+
]

e2e/data/import/milestoneView/testRunViewer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@
118118
}
119119
]
120120
}
121-
]
121+
]

e2e/data/import/oneTestCucumber.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@
4646
}
4747
]
4848
}
49-
]
49+
]

0 commit comments

Comments
 (0)