-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fixed test flakiness on application deploy in IE #508
Conversation
Review status: 0 of 4 files reviewed at latest revision, 1 unresolved discussion. src/test/integration/deploy/deploy_po.js, line 17 [r1] (raw file): Can you maybe use class/model/binding? Comments from the review on Reviewable.io |
Review status: 0 of 4 files reviewed at latest revision, 1 unresolved discussion. src/test/integration/deploy/deploy_po.js, line 17 [r1] (raw file): Comments from the review on Reviewable.io |
8455729
to
3e6dd8d
Compare
Current coverage is
|
PTAL |
Reviewed 2 of 4 files at r1, 2 of 3 files at r2. Comments from the review on Reviewable.io |
Review status: all files reviewed at latest revision, 1 unresolved discussion. src/test/integration/deploy/deploy_po.js, line 17 [r1] (raw file): Comments from the review on Reviewable.io |
3e6dd8d
to
c9b9c06
Compare
Reviewed 1 of 4 files at r1. Comments from the review on Reviewable.io |
Fixed test flakiness on application deploy in IE
@@ -45,7 +45,8 @@ <h3 class="md-headline kd-deploy-form-title">Deploy a Containerized App</h3> | |||
</deploy-from-file> | |||
</div> | |||
|
|||
<md-button class="md-raised md-primary" type="submit" ng-disabled="ctrl.isDeployDisabled()"> | |||
<md-button id="kd-deploy-btn" class="md-raised md-primary" type="submit" |
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.
Can you convert the ID to a class? It is a good practise to never use IDs, unless you really really need them :) With that practise in mind you'll avoid problems when someone adds second deploy button here (which has pretty generic meaning/name, yea?)
Sorry for nagging.
Fixes #494
I've changed some button queries to use xpath and moved expect block to be executed after click promise is resolved.