Skip to content

Commit 2f7bc02

Browse files
Merge pull request #112 from aquality-automation/feature/attachments
Feature/attachments
2 parents 0e62f8a + 28d3c23 commit 2f7bc02

File tree

531 files changed

+17395
-15796
lines changed

Some content is hidden

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

531 files changed

+17395
-15796
lines changed

.angular-cli.json

Lines changed: 0 additions & 68 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -43,37 +43,15 @@ jobs:
4343
docker run --network container:api_tomcat_1 \
4444
appropriate/curl -4 --retry 10 --retry-delay 20 --retry-connrefused http://localhost:8080/api/authInfo
4545
46-
- run:
47-
shell: "/bin/bash -eo pipefail"
48-
name: Start Aquality Test Run
49-
command: |
50-
export NVM_DIR="/opt/circleci/.nvm"
51-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
52-
export TESTRUNID="$(npm run aquality:start -- ${TOKEN} All Docker_Chrome build_${CIRCLE_BUILD_NUM}_${CIRCLE_BRANCH})"
53-
export TESTRUNID=${TESTRUNID##*$'\n'}
54-
echo $TESTRUNID
55-
echo "export TESTRUNID=$TESTRUNID" >> $BASH_ENV
56-
5746
- run:
5847
shell: "/bin/bash -eo pipefail"
5948
name: Run tests
6049
command: |
6150
export NVM_DIR="/opt/circleci/.nvm"
6251
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
6352
sudo mkdir allure-results
64-
docker build --build-arg TOKEN="${TOKEN}" --build-arg TESTRUNID="${TESTRUNID}" . -t tests
53+
docker build --build-arg TOKEN="${TOKEN}" --build-arg CIRCLE_BUILD_NUM="${CIRCLE_BUILD_NUM}" --build-arg CIRCLE_BRANCH="${CIRCLE_BRANCH}" --build-arg CIRCLE_BUILD_URL="${CIRCLE_BUILD_URL}" . -t tests
6554
docker run -ti --rm -v /home/circleci/repo/allure-results:/app/allure-results --network container:api_tomcat_1 tests
66-
npm run aquality:finish -- ${TOKEN} ${TESTRUNID}
67-
68-
- run:
69-
shell: "/bin/bash -eo pipefail"
70-
when: always
71-
name: Finish Aquality Test Run
72-
command: |
73-
echo ${TESTRUNID}
74-
export NVM_DIR="/opt/circleci/.nvm"
75-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
76-
npm run aquality:finish -- ${TOKEN} ${TESTRUNID}
7755
7856
- run:
7957
when: always

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Editor configuration, see http://editorconfig.org
1+
# Editor configuration, see https://editorconfig.org
22
root = true
33

44
[*]
@@ -8,6 +8,9 @@ indent_size = 2
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11+
[*.ts]
12+
quote_type = single
13+
1114
[*.md]
1215
max_line_length = off
1316
trim_trailing_whitespace = false

.gitignore

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@
44
/dist
55
/tmp
66
/out-tsc
7-
/api/apps
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# tests output
11+
/allure-results
812

913
# dependencies
1014
/node_modules
1115

16+
# profiling files
17+
chrome-profiler-events*.json
18+
speed-measure-plugin*.json
19+
1220
# IDEs and editors
1321
/.idea
1422
.project
@@ -24,22 +32,18 @@
2432
!.vscode/tasks.json
2533
!.vscode/launch.json
2634
!.vscode/extensions.json
35+
.history/*
2736

2837
# misc
2938
/.sass-cache
3039
/connect.lock
3140
/coverage
3241
/libpeerconnection.log
3342
npm-debug.log
43+
yarn-error.log
3444
testem.log
3545
/typings
3646

37-
# e2e
38-
/e2e/*.js
39-
/e2e/*.map
40-
/allure-results
41-
/allure-report
42-
4347
# System Files
4448
.DS_Store
4549
Thumbs.db

.vscode/launch.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@
77
{
88
"type": "chrome",
99
"request": "launch",
10-
"name": "Launch Chrome",
11-
"url": "http://localhost:4200",
12-
"webRoot": "${workspaceFolder}"
13-
},
14-
{
15-
"type": "chrome",
16-
"request": "attach",
17-
"name": "Attach to Chrome",
18-
"port": 9222,
10+
"name": "Launch Chrome against localhost",
11+
"url": "http://localhost:8080",
1912
"webRoot": "${workspaceFolder}"
2013
},
2114
{
@@ -25,7 +18,7 @@
2518
"program": "${workspaceRoot}/node_modules/protractor/bin/protractor",
2619
"stopOnEntry": false,
2720
"args": [
28-
"${workspaceRoot}/protractor.conf.js"
21+
"${workspaceRoot}/e2e/protractor.conf.js"
2922
]
3023
},
3124
]

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# CHANGELOG
22

3+
## 1.0.0 (Unreleased)
4+
5+
Features:
6+
- Migrate to Angular 9 -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/101)
7+
- Add Execution environment column to Test History table -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/107)
8+
9+
Bugfixes:
10+
- [API] /api/public/test/create-or-update does not update list of suites -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/105)
11+
- External issue link is incorrect on Issues table -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/108)
12+
- Import is blocked when invalid regular expression was saved for issue -> [View Issue](https://github.com/aquality-automation/aquality-tracking/issues/103)
13+
314
## 0.3.10 (2020-05-17)
415

516
Features:

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ WORKDIR /app
33
COPY . /app
44
ARG TOKEN
55
ENV AT_TOKEN=$TOKEN
6-
ARG TESTRUNID
7-
ENV AT_TESTRUNID=$TESTRUNID
6+
ARG CIRCLE_BUILD_NUM
7+
ENV AT_CIRCLE_BUILD_NUM=$CIRCLE_BUILD_NUM
8+
ARG CIRCLE_BUILD_URL
9+
ENV AT_CIRCLE_BUILD_URL=$CIRCLE_BUILD_URL
10+
ARG CIRCLE_BRANCH
11+
ENV AT_CIRCLE_BRANCH=$CIRCLE_BRANCH
812
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
913
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
1014
RUN apt-get update

README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
1-
# aquality-tracking-ui
1+
# AqualityTrackingUi
22

3-
# Run Tests
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.6.
4+
5+
## Development server
6+
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8+
9+
## Code scaffolding
10+
11+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12+
13+
## Build
14+
15+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
16+
17+
## Running unit tests
18+
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20+
21+
## Run Tests
422

523
1. Open `api` folder and update .env file with your values
624
2. Run `docker-compose up`
7-
3. Go back to the root folder and use `runTests.bat` or `runTests.sh`
25+
3. Go back to the root folder and use `runTests.bat` or `runTests.sh`
26+
27+
## Further help
28+
29+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
30+

0 commit comments

Comments
 (0)