Context:
- Playwright Version: 1.15
- Operating System: linux
- Node.js version: 14
- Browser: any

Code Snippet
console show error timeout, but not specifying any useful details, like time out for what and for which element, which line...etc
test.beforeAll(async ({browser}) =>{
page = await browser.newPage()
p = new ParentList(page);
const loginCookie = await API.getCookies('admin', 'pds');
await page.context().addCookies([{ name: 'PHPSESSID', value: loginCookie, path: '/' ,domain:'dev.d.d'}]);
});
test.beforeEach(async () =>{
await page.goto('/parent/list')
});
test('01. Should be able to add new project', async () => {
await p.waitForElement(p.parentListHeader) // I intentionally make it fails here
});
Describe the bug
Unable to see a detailed info when a test is failing like referring to an element and print a meaningful error that could help in debugging.
Context:
Code Snippet
console show error timeout, but not specifying any useful details, like time out for what and for which element, which line...etc
Describe the bug
Unable to see a detailed info when a test is failing like referring to an element and print a meaningful error that could help in debugging.