Browse Source

test(playwright): return waitForResponse

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
abe24c9719
  1. 2
      tests/playwright/pages/Base.ts

2
tests/playwright/pages/Base.ts

@ -50,7 +50,7 @@ export default abstract class BasePage {
}
);
await Promise.all([uiAction(), waitForResponsePromise]);
return await Promise.all([uiAction(), waitForResponsePromise]);
}
async attachFile({ filePickUIAction, filePath }: { filePickUIAction: Promise<any>; filePath: string[] }) {

Loading…
Cancel
Save