Vitaliy Potapov
Vitaliy Potapov
I like it! In most cases I use `cucumber/messages` for types. The only question is about enums - are you going to transform this to type as well? ```js export...
Hey @andre-ribeiro-almeida-alb Could you make a full reproducible example. I've tried to change the locator in auth-in-steps, but didn't get `Target page, context or browser has been closed` message.
Thank you, now I see it. I've tried 2 workarounds: 1. wrap `ctx.page?.context().close()` into `try...catch`: ```ts try { await ctx.page?.context().close(); } catch {} ``` does not help, error message is...
> Still, this would not always work, since depending on the test, the main timeout could trigger before the action one (picture the click action starting 20s into the test),...
@andre-ribeiro-almeida-alb thanks for the investigation with the Playwright team. Could you share, what is the final fixture setup? I've re-read the original goal: to show a better error message `Error:...
Hmm. If this test successfully passed, will not it still show `Test timeout of 10s was exceeded`? **Side note:** Recently I realized that Playwright has [context.addCookies](https://playwright.dev/docs/api/class-browsercontext#browser-context-add-cookies) method, that we can...
> So, if we already define the testDir for each project, do we still need to define it again in the global Playwright configuration? No. Project's `testDir` overwrites the global...
@Aaron-Pool could you show an example feature file that you use, and the actual / expected output?
Got it. Do you need this long definition appear in the other reports? Or other reasons of using Rule over plain gherkin comments? I mean you can write this way:...
Fair enough. So you mean you would like to see this output: instead of: --- I still have doubts, how to better resolve it. Replacing with anonymous describe block may...