Skip to content

Commit 6d7871a

Browse files
committed
fix: update smoke test Convert check to match real behavior (not stub)
1 parent b447ecf commit 6d7871a

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

scripts/live_test.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,16 @@ def main() -> None:
226226
f"got: {result!r}",
227227
)
228228

229-
# --------------------------------------------------------------- stubs
230-
section("Stub Actions")
229+
# ------------------------------------------------------- encoding convert
230+
section("Encoding Conversion")
231231

232+
# rep.txt was loaded as UTF-8; clicking Convert on an already-UTF-8
233+
# file must show the "already UTF-8" status message (not save again).
232234
window._convert_button.click()
233235
app.processEvents()
234236
check(
235-
"Convert shows coming-soon status",
236-
"coming soon" in window.ui.statusBar().currentMessage().lower(),
237+
"Convert on UTF-8 file shows already-UTF-8 status",
238+
"already utf-8" in window.ui.statusBar().currentMessage().lower(),
237239
)
238240

239241
# ----------------------------------------------------------------------- summary

0 commit comments

Comments
 (0)