fixed three FTs clogging pipeline that needed slight CSS-selector redirects to conform with recent refactors
All checks were successful
ci/woodpecker/push/pyswiss Pipeline was successful
ci/woodpecker/push/main Pipeline was successful

This commit is contained in:
Disco DeDisco
2026-04-26 21:17:42 -04:00
parent 5aaff6240b
commit e2515d9b44
2 changed files with 4 additions and 4 deletions

View File

@@ -300,7 +300,7 @@ class StargazerNoteFromDashboardTest(FunctionalTest):
bardo_ok = bardo.find_element(By.CSS_SELECTOR, ".palette-ok") bardo_ok = bardo.find_element(By.CSS_SELECTOR, ".palette-ok")
self.assertIn("btn-confirm", bardo_ok.get_attribute("class")) self.assertIn("btn-confirm", bardo_ok.get_attribute("class"))
self.assertNotIn("btn-disabled", bardo_ok.get_attribute("class")) self.assertNotIn("btn-disabled", bardo_ok.get_attribute("class"))
self.assertIn("Stargazer", bardo.get_attribute("data-shoptalk")) self.assertIn("Stargazer", bardo.get_attribute("data-description"))
# ────────────────────────────────────────────────────────────────────────────── # ──────────────────────────────────────────────────────────────────────────────

View File

@@ -261,11 +261,11 @@ class PaletteTooltipTest(FunctionalTest):
) )
self.assertIn(f"rgb({r}, {g}, {b})", color) self.assertIn(f"rgb({r}, {g}, {b})", color)
def test_tooltip_shows_shoptalk(self): def test_tooltip_shows_description(self):
self._click_swatch() self._click_swatch()
self.wait_for( self.wait_for(
lambda: self.browser.find_element( lambda: self.browser.find_element(
By.CSS_SELECTOR, "#id_tooltip_portal .tt-shoptalk" By.CSS_SELECTOR, "#id_tooltip_portal .tt-description"
) )
) )
@@ -298,7 +298,7 @@ class PaletteTooltipTest(FunctionalTest):
By.CSS_SELECTOR, "#id_tooltip_portal .tt-lock" By.CSS_SELECTOR, "#id_tooltip_portal .tt-lock"
) )
) )
self.assertIn("Default", lock_line.text) self.assertIn("Unlocked", lock_line.text)
def test_tooltip_dismisses_on_click_outside(self): def test_tooltip_dismisses_on_click_outside(self):
self._click_swatch() self._click_swatch()