|
|
@ -45,9 +45,8 @@ export default abstract class BasePage { |
|
|
|
); |
|
|
|
); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const uiActionPromise = uiAction(); |
|
|
|
await uiAction(); |
|
|
|
|
|
|
|
await waitForResponsePromise; |
|
|
|
await Promise.all([waitForResponsePromise, uiActionPromise]); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async attachFile({ filePickUIAction, filePath }: { filePickUIAction: Promise<any>; filePath: string[] }) { |
|
|
|
async attachFile({ filePickUIAction, filePath }: { filePickUIAction: Promise<any>; filePath: string[] }) { |
|
|
|