-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/176 - Compare and Search views #181
Merged
Merged
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d42fb6c
local-stuff
lakooi 621e199
compare and search functionality
lakooi a45f05c
Locali
lakooi 8b9e853
176 - Resolve conflicts
tiiavalt 2fd68ad
176 - Add breadcrumbs for compare view
tiiavalt 84b36ce
176 - Change Table's kebab case to camel case
tiiavalt 926c974
176 - Some UI improvements
tiiavalt 391a3f0
176 - Add Search and Compare links to mainNav at least for now
tiiavalt b275add
176 - Improve search view
tiiavalt 7b27863
176 - Add proper aria-label for dropdown's option
tiiavalt adf9dfc
176 - Change DropdownSelect's kebab case to camel case
tiiavalt 7854016
176 - Move Comparison view to Pages folder and rename one folder
tiiavalt a1260f8
176 - Improve ComparisonForm:
tiiavalt bf7ac11
176 - Fixed mainContent's margin to padding, so content is not croppe…
tiiavalt e27e1ba
176 - Resolve conflicts and line break fixes
tiiavalt 80c859c
176 - Style the Comparison view's checkboxes
tiiavalt ac5278b
176 - Rename MetadataTable
tiiavalt 8d15808
176 - Rollback Dockerfile
tiiavalt 6781774
176 - Fix tests
tiiavalt 9f4ef92
removed all-scopes
lakooi d4f86f1
176 - Fix Codacy issues and make suggested changes
tiiavalt ce674cb
176 - Fix Codacy issues and make suggested changes
tiiavalt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
#!/bin/sh | ||
|
||
python -m robot --outputdir ./logs/ \ | ||
--variablefile variables.py \ | ||
--metadata "version:0.3.0" \ | ||
--metadata "cipipelineid:$cipipelineid" \ | ||
--metadata "series:$series" \ | ||
--metadata "branch:$branch" \ | ||
--metadata "commitsha:$commitsha" \ | ||
--metadata "changedfiles:$changedfiles" \ | ||
--metadata "joburl:$joburl" \ | ||
--metadata "cijobid:$cijobid" \ | ||
--metadata "username:$username" \ | ||
--metadata "environment:$environment" \ | ||
--metadata "testframework:$testframework" \ | ||
--include Backend \ | ||
./robot_tests | ||
BACKEND=$? | ||
|
||
#Testarchiver data storing can be added here, | ||
#Important to exit with the right exit value from the test execution, | ||
#not with the exitvalue from data storing. | ||
|
||
DATABASE=github_test | ||
HOST=testarchiverdb.postgres.database.azure.com | ||
USER=testarchiver@testarchiverdb | ||
PASSWORD=tallentaj123! | ||
|
||
|
||
|
||
echo "---------------------------------------------" | ||
echo " Archiving Backend reports from ./logs -directory" | ||
echo "---------------------------------------------" | ||
find ./logs -name \*.xml -type f -print0 | xargs -0 -n1 testarchiver --dbengine postgresql --database "$DATABASE" --host "$HOST" \ | ||
--user "$USER" --pw "$PASSWORD" \ | ||
--team Epimetheus --series ci_backend#"${BUILD_NUMBER}" --format robotframework | ||
|
||
|
||
|
||
python -m robot --outputdir ./logs/ \ | ||
--variablefile variables.py \ | ||
--metadata "version:0.3.0" \ | ||
--metadata "cipipelineid:$cipipelineid" \ | ||
--metadata "series:$series" \ | ||
--metadata "branch:$branch" \ | ||
--metadata "commitsha:$commitsha" \ | ||
--metadata "joburl:$joburl" \ | ||
--metadata "cijobid:$cijobid" \ | ||
--metadata "username:$username" \ | ||
--metadata "environment:$environment" \ | ||
--metadata "testframework:$testframework" \ | ||
--include History \ | ||
./robot_tests | ||
HISTORY=$? | ||
|
||
echo "---------------------------------------------" | ||
echo " Archiving History Page reports from ./logs -directory" | ||
echo "---------------------------------------------" | ||
find ./logs -name \*.xml -type f -print0 | xargs -0 -n1 testarchiver --dbengine postgresql --database "$DATABASE" --host "$HOST" \ | ||
--user "$USER" --pw "$PASSWORD" \ | ||
--team Epimetheus --series ci_history_page#"${BUILD_NUMBER}" --format robotframework | ||
|
||
python -m robot --outputdir ./logs/ \ | ||
--variablefile variables.py \ | ||
--metadata "version:0.3.0" \ | ||
--metadata "cipipelineid:$cipipelineid" \ | ||
--metadata "series:$series" \ | ||
--metadata "branch:$branch" \ | ||
--metadata "commitsha:$commitsha" \ | ||
--metadata "joburl:$joburl" \ | ||
--metadata "cijobid:$cijobid" \ | ||
--metadata "username:$username" \ | ||
--metadata "environment:$environment" \ | ||
--metadata "testframework:$testframework" \ | ||
--include NavBar \ | ||
./robot_tests | ||
|
||
NAVBAR=$? | ||
|
||
echo "---------------------------------------------" | ||
echo " Archiving Navigation Bar reports from ./logs -directory" | ||
echo "---------------------------------------------" | ||
find ./logs -name \*.xml -type f -print0 | xargs -0 -n1 testarchiver --dbengine postgresql --database "$DATABASE" --host "$HOST" \ | ||
--user "$USER" --pw "$PASSWORD" \ | ||
--team Epimetheus --series ci_navigation_bar#"${BUILD_NUMBER}" --format robotframework | ||
|
||
python -m robot --outputdir ./logs/ \ | ||
--variablefile variables.py \ | ||
--metadata "version:0.3.0" \ | ||
--metadata "cipipelineid:$cipipelineid" \ | ||
--metadata "series:$series" \ | ||
--metadata "branch:$branch" \ | ||
--metadata "commitsha:$commitsha" \ | ||
--metadata "joburl:$joburl" \ | ||
--metadata "cijobid:$cijobid" \ | ||
--metadata "username:$username" \ | ||
--metadata "environment:$environment" \ | ||
--metadata "testframework:$testframework" \ | ||
--include Team \ | ||
./robot_tests | ||
|
||
TEAM=$? | ||
|
||
echo "---------------------------------------------" | ||
echo " Archiving Team Page reports from ./logs -directory" | ||
echo "---------------------------------------------" | ||
find ./logs -name \*.xml -type f -print0 | xargs -0 -n1 testarchiver --dbengine postgresql --database "$DATABASE" --host "$HOST" \ | ||
--user "$USER" --pw "$PASSWORD" \ | ||
--team Epimetheus --series ci_team_page#"${BUILD_NUMBER}" --format robotframework | ||
|
||
python -m robot --outputdir ./logs/ \ | ||
--variablefile variables.py \ | ||
--metadata "version:0.3.0" \ | ||
--metadata "cipipelineid:$cipipelineid" \ | ||
--metadata "series:$series" \ | ||
--metadata "branch:$branch" \ | ||
--metadata "commitsha:$commitsha" \ | ||
--metadata "joburl:$joburl" \ | ||
--metadata "cijobid:$cijobid" \ | ||
--metadata "username:$username" \ | ||
--metadata "environment:$environment" \ | ||
--metadata "testframework:$testframework" \ | ||
--include Series \ | ||
./robot_tests | ||
|
||
SERIES=$? | ||
|
||
echo "---------------------------------------------" | ||
echo " Archiving Series Page reports from ./logs -directory" | ||
echo "---------------------------------------------" | ||
find ./logs -name \*.xml -type f -print0 | xargs -0 -n1 testarchiver --dbengine postgresql --database "$DATABASE" --host "$HOST" \ | ||
--user "$USER" --pw "$PASSWORD" \ | ||
--team Epimetheus --series ci_series_page#"${BUILD_NUMBER}" --format robotframework | ||
|
||
|
||
python -m robot --outputdir ./logs/ \ | ||
--variablefile variables.py \ | ||
--metadata "version:0.3.0" \ | ||
--metadata "cipipelineid:$cipipelineid" \ | ||
--metadata "series:$series" \ | ||
--metadata "branch:$branch" \ | ||
--metadata "commitsha:$commitsha" \ | ||
--metadata "joburl:$joburl" \ | ||
--metadata "cijobid:$cijobid" \ | ||
--metadata "username:$username" \ | ||
--metadata "environment:$environment" \ | ||
--metadata "testframework:$testframework" \ | ||
--include Build \ | ||
./robot_tests | ||
|
||
BUILD=$? | ||
|
||
echo "---------------------------------------------" | ||
echo " Archiving Build Page reports from ./logs -directory" | ||
echo "---------------------------------------------" | ||
find ./logs -name \*.xml -type f -print0 | xargs -0 -n1 testarchiver --dbengine postgresql --database "$DATABASE" --host "$HOST" \ | ||
--user "$USER" --pw "$PASSWORD" \ | ||
--team Epimetheus --series ci_build_page#"${BUILD_NUMBER}" --format robotframework | ||
|
||
EXITVAL=$((SERIES+TEAM+NAVBAR+HISTORY+BACKEND+BUILD)) | ||
exit $EXITVAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ ENV REACT_APP_SERVER_URL=backend-server | |
|
||
CMD [ "npm", "start" ] | ||
|
||
EXPOSE 3000 | ||
EXPOSE 3000 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea about this backend scripts if they are needed or not. Or are they really part of this pull request?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this file from the branch as it contained our backend credentials