diff --git a/src/internal/container-queries/__integ__/use-resize-observer.test.ts b/src/internal/container-queries/__integ__/use-resize-observer.test.ts index 2ceb0ef..1e0f542 100644 --- a/src/internal/container-queries/__integ__/use-resize-observer.test.ts +++ b/src/internal/container-queries/__integ__/use-resize-observer.test.ts @@ -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 }); } }