Skip to content

Commit 696a5a5

Browse files
author
Sebastian Florek
committed
Changed integration tests element selector to use 'by.css' instead of 'by.id'
1 parent 17ab9ef commit 696a5a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/frontend/deploy/deploy.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h3 class="md-headline kd-deploy-form-title">Deploy a Containerized App</h3>
4545
</deploy-from-file>
4646
</div>
4747

48-
<md-button id="kd-deploy-btn" class="md-raised md-primary" type="submit"
48+
<md-button class="md-raised md-primary kd-deploy-btn" type="submit"
4949
ng-disabled="ctrl.isDeployDisabled()">
5050
Deploy
5151
</md-button>

src/test/integration/deploy/deploy_po.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
export default class DeployPageObject {
1616
constructor() {
17-
this.deployButtonQuery = by.id('kd-deploy-btn');
17+
this.deployButtonQuery = by.css('.kd-deploy-btn');
1818
this.deployButton = element(this.deployButtonQuery);
1919

2020
this.appNameFieldQuery = by.model('ctrl.name');

0 commit comments

Comments
 (0)