fix stale test assertions after note-page interaction changes — TDD
- NoteEquipTitleViewTest.test_doff_returns_200: assert greeting + title fields now returned by doff_title view - NoteEquipTitleTest FT: click note item to lock before reading DON/DOFF text — opacity:0 by default makes .text return empty Code architected by Disco DeDisco <discodedisco@outlook.com> Git commit message Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -431,6 +431,8 @@ class NoteEquipTitleTest(FunctionalTest):
|
||||
note_item = self.wait_for(
|
||||
lambda: self.browser.find_element(By.CSS_SELECTOR, ".note-item")
|
||||
)
|
||||
# Click the note to lock it — makes DON/DOFF opacity:1 and interactable
|
||||
note_item.click()
|
||||
don_btn = note_item.find_element(By.CSS_SELECTOR, ".btn-equip")
|
||||
doff_btn = note_item.find_element(By.CSS_SELECTOR, ".btn-unequip")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user