Skip to content

Card issue after migrating to 25.1 #65

@jcgueriaud1

Description

@jcgueriaud1

Card error:

Call log:

Assert "containsText" with timeout 5000ms
waiting for locator("vaadin-card").filter(new Locator.FilterOptions().setHas(locator("[slot='title']").filter(new Locator.FilterOptions().setHasText("Lapland")))).locator("xpath=./*[not(@slot)][1]")
9 × locator resolved to
Lapland is the northern-most region of Finland an…

unexpected value "Lapland is the northern-most region of Finland and an active outdoor destination."
at com.microsoft.playwright.impl.AssertionsBase.expectImpl(AssertionsBase.java:71)
at com.microsoft.playwright.impl.AssertionsBase.expectImpl(AssertionsBase.java:47)
at com.microsoft.playwright.impl.AssertionsBase.expectImpl(AssertionsBase.java:39)
at com.microsoft.playwright.impl.LocatorAssertionsImpl.containsText(LocatorAssertionsImpl.java:75)
at com.microsoft.playwright.assertions.LocatorAssertions.containsText(LocatorAssertions.java:1008)
at org.vaadin.addons.dramafinder.tests.it.CardViewIT.cardSlotsAreReachable(CardViewIT.java:37)
it seems that an additional paragraph has been added. I don't think it's a regression but maybe something in dramafinder to make it more robust

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions