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

Add deployment info for apps deployed via docker & fix info for local/archive apps #3291

Merged
merged 4 commits into from
Jan 7, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
E2E Test Fix
  • Loading branch information
nwmac committed Jan 7, 2019
commit f4d1772cf98e8367e76ee26b647e58f4853838ca
3 changes: 2 additions & 1 deletion src/test-e2e/application/application-view-e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ describe('Application View -', function () {
});

it('Deployment Info', () => {
appSummary.cardDeployInfo.waitForTitle('No Deployment Info');
appSummary.cardDeployInfo.waitForTitle('Deployment Info');
expect(appSummary.cardDeployInfo.getContent()).toBe('None');
});
});

Expand Down
4 changes: 4 additions & 0 deletions src/test-e2e/po/meta-card.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export class MetaCard extends Component {
return this.getTitleElement().getText();
}

getContent(): promise.Promise<string> {
return this.elementFinder.element(by.css('mat-card-content')).getText();
}

openActionMenu(): promise.Promise<MenuComponent> {
return this.elementFinder.element(by.css('.meta-card__header__button')).click().then(() => {
// Wait until menu is shown
Expand Down