fixed three FTs clogging pipeline that needed slight CSS-selector redirects to conform with recent refactors
This commit is contained in:
@@ -300,7 +300,7 @@ class StargazerNoteFromDashboardTest(FunctionalTest):
|
||||
bardo_ok = bardo.find_element(By.CSS_SELECTOR, ".palette-ok")
|
||||
self.assertIn("btn-confirm", 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"))
|
||||
|
||||
|
||||
# ──────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -261,11 +261,11 @@ class PaletteTooltipTest(FunctionalTest):
|
||||
)
|
||||
self.assertIn(f"rgb({r}, {g}, {b})", color)
|
||||
|
||||
def test_tooltip_shows_shoptalk(self):
|
||||
def test_tooltip_shows_description(self):
|
||||
self._click_swatch()
|
||||
self.wait_for(
|
||||
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"
|
||||
)
|
||||
)
|
||||
self.assertIn("Default", lock_line.text)
|
||||
self.assertIn("Unlocked", lock_line.text)
|
||||
|
||||
def test_tooltip_dismisses_on_click_outside(self):
|
||||
self._click_swatch()
|
||||
|
||||
Reference in New Issue
Block a user