Fixup and test core.history.yaml tour.

This commit is contained in:
John Chilton
2016-12-20 18:06:16 -05:00
committed by Dannon Baker
parent 38d3163b2c
commit 10720fa4f9
2 changed files with 10 additions and 4 deletions
+4 -4
View File
@@ -91,12 +91,12 @@ steps:
postclick:
- "#current-history-panel > ul.list-items > div:nth-child(1) > div.primary-actions > a.icon-btn.delete-btn"
- element: "#current-history-panel > div.controls > div.subtitle > a"
- element: "#current-history-panel > .controls > .subtitle .toggle-deleted-link"
title: "Include all deleted datasets"
intro: "By default your history will hide all deleted datasets from you. You can visualize them by toggling this button."
position: "bottom"
postclick:
- "#current-history-panel > div.controls > div.subtitle > a"
- "#current-history-panel > .controls > .subtitle .toggle-deleted-link"
- element: "#current-history-panel > ul.list-items > div:nth-child(1) > div.warnings > div > a"
title: "Undeleting a dataset"
@@ -107,12 +107,12 @@ steps:
postclick:
- "#current-history-panel > ul.list-items > div:nth-child(1) > div.warnings > div > a"
- element: "#current-history-panel > div.controls > div.subtitle > a"
- element: "#current-history-panel > div.controls > .subtitle .toggle-deleted-link"
title: "Hiding all deleted datasets"
intro: "Hiding datasets that were previously deleted works in the same way."
position: "bottom"
preclick:
- "#current-history-panel > div.controls > div.subtitle > a"
- "#current-history-panel > div.controls > .subtitle .toggle-deleted-link"
- element: "#current-history-panel > div.controls > div.title > div"
title: "Change your History name"
+6
View File
@@ -26,3 +26,9 @@ class TestStockToursTestCase(SeleniumTestCase):
self.run_tour(
os.path.join(STOCK_TOURS_DIRECTORY, "core.scratchbook.yaml"),
)
@selenium_test
def test_core_history(self):
self.run_tour(
os.path.join(STOCK_TOURS_DIRECTORY, "core.history.yaml"),
)