-
Notifications
You must be signed in to change notification settings - Fork 49
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
URL rerun #517
URL rerun #517
Conversation
@@ -35,7 +35,7 @@ <h4 class="toolbar-link-header ellipsis"> | |||
data-content="Rerun current URL" | |||
data-trigger="hover" | |||
data-container="body" | |||
data-ng-click="toolbarBottom.rerunURL(toolbarBottom.model.url)"> | |||
data-ng-click="toolbarBottom.rerunURL(toolbarBottom.model.name)"> |
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.
Will it also work when URL doesn't have a "name" attribute in XML?
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.
Yes, because when user doesn't set "Name" attribute, then URL is set as "Name"
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.
Good job!
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.
Thanks! ;)
var url = endpointConfiguration.getEndpoint().getUrl + 'suite-rerun?' + rerunParams; | ||
$http.post(url, {}).then(function successCallback(response) { | ||
var url = endpointConfiguration.getEndpoint().getUrl + 'suite-rerun'; | ||
$http.post(url, { |
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.
It warms my heart ❤️
private String testUrl; | ||
private String testName; | ||
|
||
public RerunDataWrapper(String correlationId, String company, String project, String suite, String testUrl, String testName) { |
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.
This constructor is probably redundant, I don't think that GSON is using it. Setters are also redudant here
CHANGELOG.md
Outdated
@@ -16,6 +16,7 @@ All notable changes to AET will be documented in this file. | |||
- [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-517](https://github.com/Cognifide/aet/pull/517) Angular sends a URL name instead of a URL to RerunServlet ([#487](https://github.com/Cognifide/aet/issues/487)) |
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 suggest simplifying this, e.g. Single URL rerun fixed for named URLs
so it's more understandable :)
Description
Angular app was sending a url instead of a url name, so backend could not find the right test case.
Motivation and Context
Closes #487
Screenshots (if appropriate)
Upgrade notes (if appropriate)
Types of changes
Checklist:
I hereby agree to the terms of the AET Contributor License Agreement.