Supports assertions on spoken text from all sources, not only from
screen-reader
Change-Id: Idad27f3c777ac4b065bf429586567cd73c351f6d
if (!w.searchLine) {
*w.found = true;
} else {
- if (txt.find("(tts_speak_customized)") != std::string::npos) {
- static const auto prefix = std::string{ "TTS reading text '" };
+ if (txt.find("tts_add_text(") != std::string::npos) {
+ static const auto prefix = std::string{ "Text is valid - text is '" };
static const auto postfix = std::string{ "'" };
auto z = txt.find(prefix);