fixed three FTs clogging pipeline that needed slight CSS-selector redirects to conform with recent refactors
This commit is contained in:
@@ -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