Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Nov 26, 2024
1 parent 7d2c631 commit d82cf1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ <h4 class="modal-title">Generate public key</h4>
class="form-check-input"
name="public_key_acknowledgement_checkbox"
type="checkbox"
id="generate_checkbox"
id="public_key_acknowledgement_checkbox"
[(ngModel)]="acknowledgement_given"
data-test-id="generate_checkbox"
data-test-id="public_key_acknowledgement_checkbox"
/>
<label class="form-check-label" for="public_key_acknowledgement_checkbox">
I hereby confirm that I am aware of the effects of generating a new SSH-key.
Expand Down
1 change: 1 addition & 0 deletions tests/page_objects/profile.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class ProfilePage {
await this.page.locator(Util.by_data_test_id_str(this.OPEN_SET_KEY_BUTTON)).click();
console.log('Copying public key into textfield.');
await this.page.fill(Util.by_data_test_id_str(this.ENTER_PUBLIC_KEY_AREA), this.TEST_PUBLIC_KEY);
await this.page.locator(Util.by_data_test_id_str(this.PUBLIC_KEY_ACKNOWLEDGE_CHECKBOX)).click()
console.log('Confirming effects of generating a new Key');
// await this.page.locator(Util.by_data_test_id_str(this.GENERATE_KEY_CHECKBOX)).click();
console.log('Clicking on Set-Button');
Expand Down

0 comments on commit d82cf1b

Please sign in to comment.