Skip to content

Commit

Permalink
chore: Use setWindowSize browser-test-tools util (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot authored Sep 3, 2024
1 parent dc6d8c1 commit f0e9439
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BasePageObject } from '@cloudscape-design/browser-test-tools/page-objec

export class PageObject extends BasePageObject {
resizeWindow(width: number, height: number) {
return this.browser.setWindowSize(width, height);
return this.setWindowSize({ width, height });
}
}

Expand Down

0 comments on commit f0e9439

Please sign in to comment.