Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Nov 25, 2024
1 parent 55508ba commit 315c9e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/userinfo/userinfo.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<app-news [facilities]="this.userFacilities"></app-news>
<app-maintenance-alert (confirmEventEmitter)="emitConfirmation()"></app-maintenance-alert>
<div class="card" style="">
<div class="card-header"><i class="fa fa-align-justify"></i> Profile Information</div>
<div class="card-header" data-test-id="profile_information"><i class="fa fa-align-justify"></i> Profile Information</div>
<div class="card-body container-fluid">
<div class="table-responsive">
<table class="table table-hover">
Expand Down
2 changes: 1 addition & 1 deletion tests/page_objects/profile.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class ProfilePage {
console.log('Goto Profile Page');
await this.page.goto(`${this.baseURL}/#/userinfo`, { waitUntil: 'networkidle' });
console.log(this.page.url());
expect(this.page.url()).toContain('/userinfo');
await this.page.waitForSelector(Util.by_data_test_id_str("profile_information"))

}

Expand Down

0 comments on commit 315c9e6

Please sign in to comment.