Giora Guttsait
Giora Guttsait
Any update on this? I would love to use it 😁 Also, I thought it might be worth adding this to `print-affected` as well
> @gioragutt Can you add some context to why you tagged me? 😅
@DylanPiercey any updates on this? I would like to evaluate marko as a replacement for Pug and TS support would be superb.
Copied for convenience. ```ts export async function getDocument(_page?: Page): Promise { // @ts-ignore const page: Page = _page || this const documentHandle = await page.mainFrame().evaluateHandle('document') const document = documentHandle.asElement() if...
Doesn't it mean we just have to add the method names [here](https://github.com/testimio/root-cause/blob/main/packages/root-cause-core/lib/PuppeteerPageHooker.ts#L38)?
Oh and also, since you're using `Frame#evaluateHandle`, you'd have to add either [text mapping](https://github.com/testimio/root-cause/blob/main/packages/root-cause-core/lib/utils/puppeteer-text-mapping.ts) and/or [selector mapping](https://github.com/testimio/root-cause/blob/main/packages/root-cause-core/lib/utils/puppeteer-selector-mapping.ts), depending on what input it can get...
```ts const currentTestInfo = getCurrentTest(); const startTestParams = { runId: 'mock_invocation_id', projectRoot: path.resolve(__dirname, 'testsResults'), fullName: currentTestInfo.fullName, description: currentTestInfo.description, fullSuitePath: __filename, }; ... const overriddenFeatures: PossibleUserSettings = { features: { html:...
Impl related question - `CDPSession`, can I acquire it early (as early as `attach`) and keep reference to it in the hook? Or should I get it every time I...
How about create an inner project with `root-cause` specified in `package.json` as `"root-cause-core": "../../path/to/root/cause/in/the/repo"`?
> This is because there's attach call and testEnd calls, > so result folder is create for the test under that run. > > We can in some point ignore...