hopefully plugged pipeline fail for FT to assert stock card deck version; 11 new test_models ITs & 12 new test_views ITs in apps.epic.tests

This commit is contained in:
Disco DeDisco
2026-03-25 01:30:18 -04:00
parent 4d52c4f54d
commit c0016418cc
4 changed files with 642 additions and 3 deletions

View File

@@ -100,7 +100,10 @@ class GameKitTest(FunctionalTest):
By.CSS_SELECTOR, "#id_kit_bag_dialog .kit-bag-deck"
)
)
ActionChains(self.browser).move_to_element(deck_el).perform()
# Dispatch mouseenter via JS — more reliable than ActionChains in headless CI
self.browser.execute_script(
"arguments[0].dispatchEvent(new Event('mouseenter'))", deck_el
)
tooltip = self.browser.find_element(
By.CSS_SELECTOR, "#id_kit_bag_dialog .kit-bag-deck .token-tooltip"
)