Skip to content
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

#566 tooltips "Next/Previous url" added #567

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ All notable changes to AET will be documented in this file.

**List of changes that are finished but not yet released in any final version.**

- [PR-567](https://github.com/Cognifide/aet/pull/567) Added missing tooltips in the report - "Previous url" and "Next url" ([#566](https://github.com/Cognifide/aet/issues/566))
- [PR-522](https://github.com/Cognifide/aet/pull/522) Improve performance of generating /configs/list. ([#519](https://github.com/Cognifide/aet/issues/519))
- [PR-554](https://github.com/Cognifide/aet/pull/554) Fix race condition under non-native bash environments ([#551](https://github.com/Cognifide/aet/issues/551))


## Version 3.3.0

- [PR-479](https://github.com/Cognifide/aet/pull/479) Added Secure and HttpOnly flags for cookies. ([#477](https://github.com/Cognifide/aet/issues/477))
- [PR-506](https://github.com/Cognifide/aet/pull/506) About tab ([#475](https://github.com/Cognifide/aet/issues/475))
- [PR-462](https://github.com/Cognifide/aet/pull/462) Popup window unification([#367](https://github.com/Cognifide/aet/issues/367))
- [PR-506](https://github.com/Cognifide/aet/pull/506) About tab ([#475](https://github.com/Cognifide/aet/issues/475))
- [PR-462](https://github.com/Cognifide/aet/pull/462) Popup window unification([#367](https://github.com/Cognifide/aet/issues/367))
- [PR-489](https://github.com/Cognifide/aet/pull/489) Cleaner integration tests
- [PR-480](https://github.com/Cognifide/aet/pull/480) Test summary stats on the main report page. ([#474](https://github.com/Cognifide/aet/issues/474))
- [PR-459](https://github.com/Cognifide/aet/pull/459) Print more meaningful error messages when suite.xml is malformed ([#436](https://github.com/Cognifide/aet/issues/436))
- [PR-459](https://github.com/Cognifide/aet/pull/459) Print more meaningful error messages when suite.xml is malformed ([#436](https://github.com/Cognifide/aet/issues/436))
- [PR-517](https://github.com/Cognifide/aet/pull/517) Single URL rerun fixed for named URLs ([#487](https://github.com/Cognifide/aet/issues/487))
- [PR-516](https://github.com/Cognifide/aet/pull/516) Added option to change headers added by Chrome instance. ([#515](https://github.com/Cognifide/aet/issues/515))
- [PR-520](https://github.com/Cognifide/aet/pull/520) Fix displaying test tiles
Expand All @@ -34,15 +35,15 @@ All notable changes to AET will be documented in this file.

## Version 3.2.1

- [PR-469](https://github.com/Cognifide/aet/pull/469) Fix WebAPI issues([#425](https://github.com/Cognifide/aet/issues/425))
- [PR-469](https://github.com/Cognifide/aet/pull/469) Fix WebAPI issues([#425](https://github.com/Cognifide/aet/issues/425))
- [PR-439](https://github.com/Cognifide/aet/pull/439) Fixed duplicating line and column numbers in accessibility tab
- [PR-360](https://github.com/Cognifide/aet/pull/360) Keyboard shortcuts for 'Accept/Revert url/test' buttons ([#317](https://github.com/Cognifide/aet/issues/317))
- [PR-432](https://github.com/Cognifide/aet/pull/432) Fixed issue with lack of clear message for erroneous suite definition.
- [PR-472](https://github.com/Cognifide/aet/pull/472) Return message when database does not exists and set suite status to MISSING_DATABASE ([#341](https://github.com/Cognifide/aet/issues/341))
- [PR-363](https://github.com/Cognifide/aet/pull/363) Fixed saving case-level notes
- [PR-470](https://github.com/Cognifide/aet/pull/470) Security vulnerabilities fix ([#407](https://github.com/Cognifide/aet/issues/407))
- [PR-468](https://github.com/Cognifide/aet/pull/468) Add loggers in collector/modifier ([#446](https://github.com/Cognifide/aet/issues/446))
- [PR-461](https://github.com/Cognifide/aet/pull/461) Generating correct correlationId when suite name is overridden([#440](https://github.com/Cognifide/aet/issues/440))
- [PR-468](https://github.com/Cognifide/aet/pull/468) Add loggers in collector/modifier ([#446](https://github.com/Cognifide/aet/issues/446))
- [PR-461](https://github.com/Cognifide/aet/pull/461) Generating correct correlationId when suite name is overridden([#440](https://github.com/Cognifide/aet/issues/440))
- [PR-413](https://github.com/Cognifide/aet/pull/413) Added ability to show full page source when there has been no difference discovered ([#369](https://github.com/Cognifide/aet/issues/369))
- [PR-463](https://github.com/Cognifide/aet/pull/463) Removed dependency to Joda time library
- [PR-488](https://github.com/Cognifide/aet/pull/488) Fix SuiteRemoveCondition unit test
Expand All @@ -54,25 +55,25 @@ All notable changes to AET will be documented in this file.
- [PR-451](https://github.com/Cognifide/aet/pull/451) Collectors and comparators configured by single config number
- [PR-449](https://github.com/Cognifide/aet/pull/449) Improvements to the Winter Edition Theme
- [PR-354](https://github.com/Cognifide/aet/pull/354) Remove jmsEndpointConfig information from communication settings endpoint ([#352](https://github.com/Cognifide/aet/issues/352))
- [PR-412](https://github.com/Cognifide/aet/pull/412) ([PR-336](https://github.com/Cognifide/aet/pull/336), [PR-337](https://github.com/Cognifide/aet/pull/337), [PR-395](https://github.com/Cognifide/aet/pull/395)) - Added rerun functionality for suite, test and url
- [PR-412](https://github.com/Cognifide/aet/pull/412) ([PR-336](https://github.com/Cognifide/aet/pull/336), [PR-337](https://github.com/Cognifide/aet/pull/337), [PR-395](https://github.com/Cognifide/aet/pull/395)) - Added rerun functionality for suite, test and url
- [PR-429](https://github.com/Cognifide/aet/pull/429) - `aet-cookbook` version updated to [`v5.1.1`](https://github.com/Cognifide/aet-cookbook/blob/master/CHANGELOG.md#511) in Vagrant. **Important**: please follow the instructions from [PR-43 description](https://github.com/Cognifide/aet-cookbook/pull/43) in order to keep the MongoDB data on your local environment.
- [PR-422](https://github.com/Cognifide/aet/pull/422) RunnerConfiguration's urlPackageSize property got set to 1
- [PR-430](https://github.com/Cognifide/aet/pull/430) Upgraded HTML codesniffer to latest release (3.2.0)
- [PR-385](https://github.com/Cognifide/aet/pull/385) Fixed ChefDK and vagrant-berkshelf versions
- [PR-404](https://github.com/Cognifide/aet/pull/404) Added missing tooltip for conditional tests
- [PR-408](https://github.com/Cognifide/aet/pull/408) Advanced Screen Comparision button layout fix
- [PR-410](https://github.com/Cognifide/aet/pull/410) Notification that displays when exclude-elements are not found on page now shows what specific elements were not found([#372](https://github.com/Cognifide/aet/issues/372))
- [PR-410](https://github.com/Cognifide/aet/pull/410) Notification that displays when exclude-elements are not found on page now shows what specific elements were not found([#372](https://github.com/Cognifide/aet/issues/372))

## Version 3.1.0

- [PR-409](https://github.com/Cognifide/aet/pull/409) Added sources link in "view source" url
- [PR-394](https://github.com/Cognifide/aet/pull/394) Added scroll modifier
- [PR-399](https://github.com/Cognifide/aet/pull/399) Bug fix on side panel - conditional tests ([#398](https://github.com/Cognifide/aet/issues/398))
- [PR-396](https://github.com/Cognifide/aet/pull/396) Added horizontal scrollbar for wide pages ([#393](https://github.com/Cognifide/aet/issues/393))
- [PR-396](https://github.com/Cognifide/aet/pull/396) Added horizontal scrollbar for wide pages ([#393](https://github.com/Cognifide/aet/issues/393))
- [PR-403](https://github.com/Cognifide/aet/pull/403) Conditionally passed tests can be accepted ([#400](https://github.com/Cognifide/aet/issues/400))
- [PR-387](https://github.com/Cognifide/aet/pull/387) Set max allowed page screenshot height to 35k pixels.
- [PR-401](https://github.com/Cognifide/aet/pull/401) Added new regex param `sourcePattern` to [JS Errors Data Filter](https://github.com/Cognifide/aet/wiki/JSErrorsDataFilter)
- [PR-397](https://github.com/Cognifide/aet/pull/397) Add algorithm to enable taking long screenshots without resolution-sleep-resolution workaround
- [PR-397](https://github.com/Cognifide/aet/pull/397) Add algorithm to enable taking long screenshots without resolution-sleep-resolution workaround

## Version 3.0.1

Expand Down Expand Up @@ -172,7 +173,7 @@ All notable changes to AET will be documented in this file.
## Version 2.0.2
- [PR-44](https://github.com/Cognifide/aet/pull/44) [ScreenCollector](https://github.com/Cognifide/aet/wiki/ScreenCollector) enhancement: added ability to take screenshots of parts of the page by using css or xpath element selectors
- [PR-41](https://github.com/Cognifide/aet/pull/41) Added new [Replace Text](https://github.com/Cognifide/aet/wiki/ReplaceTextModifier) modifier and [Click](https://github.com/Cognifide/aet/wiki/ClickModifier)
and [Hide](https://github.com/Cognifide/aet/wiki/HideModifier) Modifiers allows to use css selectors as parameters.
and [Hide](https://github.com/Cognifide/aet/wiki/HideModifier) Modifiers allows to use css selectors as parameters.
- [PR-39](https://github.com/Cognifide/aet/pull/39) Fixed filtering w3cHtml issues and update nuvalidator to the newest version
- [PR-31](https://github.com/Cognifide/aet/pull/31) Fixed source report artifact error
- [PR-30](https://github.com/Cognifide/aet/pull/30) Fixed cookie report display in 'test' action mode
Expand Down
10 changes: 10 additions & 0 deletions redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>AET Test results - redirect</title>
<script>window.location.href = "http://localhost/report.html?company=company&project=project&correlationId=company-project-test-suite-1593682949104"</script>
</head>
<body>
<a href="http://localhost/report.html?company=company&project=project&correlationId=company-project-test-suite-1593682949104">AET Report</a>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h4 class="toolbar-link-header ellipsis">
data-ng-click="toolbarBottom.scrollSidepanel(false)">
<i class="fas fa-crosshairs fa-sm"></i>
</div>
<div
<div
ng-if="toolbarBottom.viewMode != 'suite' && toolbarBottom.viewMode != 'test' && toolbarBottom.isLastSuiteVersion"
class="fontawesome-link"
data-toggle="popover"
Expand Down Expand Up @@ -102,14 +102,16 @@ <h5 ng-if="toolbarBottom.viewMode == 'url'">
<div class="toolbar-nav toolbar-nav-urls pull-left"
ng-show="toolbarBottom.viewMode == 'url' || toolbarBottom.viewMode == 'test'">
<a ng-click="traverseTree('up')">
<div class="nav-prev">
<div class="nav-prev" data-toggle="popover" data-content="Previous url"
data-trigger="hover" data-container="body">
<i class="fas fa-chevron-left"></i>
</div>
</a>

<a ng-click="traverseTree('down')"
ng-show="toolbarBottom.viewMode == 'url' || toolbarBottom.viewMode == 'test'">
<div class="nav-next">
<div class="nav-next" data-toggle="popover" data-content="Next url"
data-trigger="hover" data-container="body">
<i class="fas fa-chevron-right"></i>
</div>
</a>
Expand Down Expand Up @@ -137,7 +139,7 @@ <h5 ng-if="toolbarBottom.viewMode == 'url'">
data-trigger="hover"></i>
Accept {{toolbarBottom.viewMode}}
</span>

<span id="accept-test" class="button js-rebase-suite button-blue"
data-ng-if="toolbarBottom.showAcceptButton()"
data-ng-click="toolbarBottom.updatePatterns()"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
data-content="Go to previous version" data-trigger="hover">
<a href="{{reportPath}}&version={{toolbarTop.previousVersion}}"><i class="fas fa-chevron-left set-initial-font-size"></i></a>
</span>
Suite:
Suite:
<div class="suite-name-container" data-ng-click="toolbarTop.showSuiteHistory()">
<span class="name">{{toolbarTop.suiteInfo.name}}</span>
<span class="preformatted" data-toggle="popover" data-content="Suite version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ define(['angularAMD'], function (angularAMD) {
return {
getEndpoint: function () {
var config = {
'getUrl': '/api/'
'getUrl': 'http://localhost:8181/api/'
// 'getUrl': '/api/'
//'getUrl': 'http://aet-vagrant/api/'
};
return config;
Expand Down
3 changes: 2 additions & 1 deletion report/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-->
<script>
window.onload = function() {
document.location.href = "http://localhost:9000/report.html?company=aet&project=aet&suite=main#/suite";
document.location.href = "http://localhost:9000/report.html?company=company&project=project&suite=test-suite#/suite";
// document.location.href = "http://localhost:9000/report.html?company=aet&project=aet&suite=main#/suite";
}
</script>
48 changes: 33 additions & 15 deletions report/src/main/webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions report/src/main/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"bootstrap-sass": "~3.3.5",
"jquery": "^2.2.3",
"lodash": "^4.11.0",
"natives": "^1.1.6",
"requirejs": "~2.1.8",
"requirejs-text": "~2.0.10"
},
Expand Down
21 changes: 21 additions & 0 deletions xUnit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<testsuites name="test-suite" tests="8" failures="4">
<testsuite name="first-test" tests="8">
<testcase name="screen (layout) on: https://pl.wikipedia.org/wiki/SpaceX">
<failure type="FAILED"/>
</testcase>
<testcase name="source (w3c-html5) on: https://pl.wikipedia.org/wiki/SpaceX">
<failure type="FAILED"/>
</testcase>
<testcase name="status-codes on: https://pl.wikipedia.org/wiki/SpaceX"/>
<testcase name="js-errors on: https://pl.wikipedia.org/wiki/SpaceX"/>
<testcase name="screen (layout) on: https://pl.wikipedia.org/wiki/Microsoft">
<failure type="FAILED"/>
</testcase>
<testcase name="source (w3c-html5) on: https://pl.wikipedia.org/wiki/Microsoft">
<failure type="FAILED"/>
</testcase>
<testcase name="status-codes on: https://pl.wikipedia.org/wiki/Microsoft"/>
<testcase name="js-errors on: https://pl.wikipedia.org/wiki/Microsoft"/>
</testsuite>
</testsuites>