Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: scenario using special tag @timeout display <anonymous> in playwright UI #139

Closed
jzaratei opened this issue Apr 17, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@jzaratei
Copy link
Sponsor

Given

Feature: Playwright Home Page

    @timeout:90000
    Scenario: Check title
        Given I am on Playwright home page
        When I click link "Get started"
        Then I see in title "Installation"

When
I run the UI playwright

Then
image

But I expect

Isolated demo

Environment

@jzaratei jzaratei added the bug Something isn't working label Apr 17, 2024
@vitalets
Copy link
Owner

Confirm the bug. Also in HTML report anonymous describe is trying to render:

I've searched Playwright issues but there no such reported. I will report it.
On Playwright-bdd side we can set particular test timeout without wrapping into anonymous describe. But for retries we still need it, see microsoft/playwright#10825 (comment).

@vitalets
Copy link
Owner

On playwright-bdd side I've changed @timeout:XXX behavior in v6.3.0.
Now it does not wrap test into anonymous describe. Instead it adds test.setTimeout(XXX) inside test body.
@jzaratei could you check in your project?

@jzaratei
Copy link
Sponsor Author

Now, looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants