Skip to content

Commit

Permalink
[ci:force] remove
Browse files Browse the repository at this point in the history
  • Loading branch information
eromano committed May 27, 2021
1 parent 2ba90e5 commit a2168d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion e2e/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ exports.config = {
shardTestFiles: true,

chromeOptions: {
w3c : false,
prefs: {
'credentials_enable_service': false,
'download': {
Expand Down
2 changes: 1 addition & 1 deletion lib/testing/src/lib/core/pages/viewer.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export class ViewerPage {

async checkCurrentThumbnailIsSelected(): Promise<void> {
const selectedThumbnail = element(by.css('adf-pdf-thumb.adf-pdf-thumbnails__thumb.adf-pdf-thumbnails__thumb--selected > img'));
const pageNumber = await BrowserActions.getInputValue(this.pageSelectorInput)
const pageNumber = await BrowserActions.getInputValue(this.pageSelectorInput);

await expect('Page ' + pageNumber).toEqual(await selectedThumbnail.getAttribute('title'));
}
Expand Down
2 changes: 1 addition & 1 deletion lib/testing/src/lib/core/utils/browser-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class BrowserActions {
await elementFinder.click();
await elementFinder.sendKeys(protractor.Key.END);

const value = await elementFinder.getAttribute('value');
const value = await browser.executeScript(`return arguments[0].value`, elementFinder);
for (let i = value.length; i >= 0; i--) {
await elementFinder.sendKeys(protractor.Key.BACK_SPACE);
await browser.sleep(sleepTime);
Expand Down

0 comments on commit a2168d5

Please sign in to comment.