File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 11// All stability badges should have rounded corners and colored backgrounds.
22goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
33show-text: true
4+
5+ // Checking the alignment of the badges text with the item name.
6+ assert-css: (
7+ "//*[@class='item-table']//*[@class='item-left module-item']/*[@class='stab deprecated']",
8+ {"padding-top": "2px"},
9+ )
10+ assert-position: (
11+ "//*[@class='item-table']//*[@class='item-left module-item']/*[@class='stab deprecated']",
12+ {"y": 1892},
13+ )
14+ assert-position: (
15+ "//*[@class='item-table']//*[@class='item-left module-item']/*[@class='stab deprecated']/preceding-sibling::a",
16+ {"y": 1894}, // 1892 + 2 because of padding
17+ )
18+
419define-function: (
520 "check-badge",
621 (theme, background, color),
You can’t perform that action at this time.
0 commit comments