Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions tests/e2e/pageobjects/dashboard/UserPreferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export class UserPreferences {

Logger.info('Pasting private SSH key');
await this.driverHelper.waitAndClick(UserPreferences.PASTE_PRIVATE_SSH_KEY_FIELD);
await this.driverHelper.getAction().sendKeys(privateSshKey).perform();
await this.driverHelper.type(UserPreferences.PASTE_PRIVATE_SSH_KEY_FIELD, privateSshKey);

// verify private SSH key was correctly set
const enteredPrivateKey: string = await this.driverHelper.waitAndGetValue(
Expand All @@ -226,7 +226,7 @@ export class UserPreferences {

Logger.info('Pasting public SSH key');
await this.driverHelper.waitAndClick(UserPreferences.PASTE_PUBLIC_SSH_KEY_FIELD);
await this.driverHelper.getAction().sendKeys(publicSshKey).perform();
await this.driverHelper.type(UserPreferences.PASTE_PUBLIC_SSH_KEY_FIELD, publicSshKey);

// verify public SSH key was correctly set
const enteredPublicKey: string = await this.driverHelper.waitAndGetValue(
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/factory/SshUrlNoOauthPatFactory.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ suite(`The SshUrlNoOauthPatFactory userstory ${BASE_TEST_CONSTANTS.TEST_ENVIRONM

Logger.debug('Clearing the editor with Ctrl+A');
await driverHelper.getDriver().actions().keyDown(Key.CONTROL).sendKeys('a').keyUp(Key.CONTROL).perform();
await driverHelper.wait(1000);
await driverHelper.wait(2000);
Logger.debug('Deleting selected text');
await driverHelper.getDriver().actions().sendKeys(Key.DELETE).perform();
await driverHelper.wait(1000);
await driverHelper.wait(2000);
Logger.debug(`Entering text: "${changesToCommit}"`);
await driverHelper.wait(2000);
await driverHelper.getDriver().actions().sendKeys(changesToCommit).perform();
Expand Down
Loading