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

HSC-1072 - Unit tests: UI: Expand unit tests for add-pipline #702

Closed
wants to merge 38 commits into from

Conversation

sean-sq-chen
Copy link
Contributor

@sean-sq-chen sean-sq-chen commented Sep 19, 2016

JIRA: https://jira.hpcloud.net/browse/HSC-1072

code coverage = 93.9%

Neil MacDougall and others added 12 commits September 14, 2016 20:01
Depends on https://github.com/hpcloud/helion-ui-framework/pull/145

- Fixed endpoints generic cluster actions menu when browser is shrunk
- Endpoint gallery-cards now are the same width
- App summary org and space names are now links to endpoints pages
- Add app workflow now uses filtered service/org/space as defaults
- Fixed sticky app wall filters, this looked like a regression
Conflicts:
	src/plugins/cloud-foundry/view/applications/list/list.module.js
* HSC-1075: Squash JS files into a single file

* HSC-1075: Updated to also squish all HMTL template (partials) into one file that is loaded up-front

* Added missing changes for the template compilation

* Fix for all unit tests being broken
- Fixed visibility of 'no services' message when there are no valid services
- Fixed exception when there are no apps in a service but apps in another
- Fixed gap where application model hasApps was not being set when there were no services
- Ensured list module 'ready' is always set
- Handle failed promises, specifically failed http get of apps
- Fixed localisation of an error message
HSC-1094: Minor improvements following walk through
1071 - Unit tests: UI: Expand unit tests for delete-app-workflow
@@ -349,7 +370,7 @@

getPipelineDetailsData: function () {
var that = this;
var hceModel = this.modelManager.retrieve('cloud-foundry.model.hce');
var hceModel = this.hceModel;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We seem to have a mix of using this.hceModel and also looking this up each time, i.e.

var hceModel = this.modelManager.retrieve('cloud-foundry.model.hce');

I assume this.hceModel is set in the code that adopts this prototype?


page.open('http://localhost:9876/?id=59354468')

}(phantom))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this file?? Should this be checked in? Folder is "karma-59354468" which seems odd.

shaoquan-chen-at-hpe and others added 11 commits September 23, 2016 11:55
* '1074-II' of github.com:hpcloud/stratos-ui:
  Clean up

# Conflicts:
#	src/plugins/github/model/model.module.spec.js
1074 - Unit tests: UI: Expand unit tests for github code - Part II
* '1072' of github.com:hpcloud/stratos-ui:
  More cleanup
  Clean-up
  1072 - Unit tests: UI: Expand unit tests for add-pipline
@nwmac
Copy link
Contributor

nwmac commented Sep 27, 2016

Looks like this could do with re-basing on master

@wchrisjohnson wchrisjohnson changed the title 1072 - Unit tests: UI: Expand unit tests for add-pipline HSC-1072 - Unit tests: UI: Expand unit tests for add-pipline Oct 4, 2016
@sean-sq-chen
Copy link
Contributor Author

Replacing this PR with:

https://github.com/hpcloud/stratos-ui/pull/749
https://github.com/hpcloud/stratos-ui/pull/750

Therefore closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants