Add the accessible-placeholder-text property (#5464)

This commit is contained in:
Arnold Loubriat 2024-06-26 12:59:22 +02:00 committed by GitHub
parent bd18d8dc0a
commit ce2db77e88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 48 additions and 11 deletions

View file

@ -18,7 +18,7 @@ SCENARIO("Basic TEST")
state.mainWindow,
[](slint::testing::ElementHandle element)
-> std::optional<slint::testing::ElementHandle> {
if (element.accessible_label() == "What needs to be done?") {
if (element.accessible_placeholder_text() == "What needs to be done?") {
return element;
} else {
return {};