File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ assert-false: "#settings"
88click: "#settings-menu"
99wait-for: "#settings"
1010assert-css: ("#settings", {"display": "block"})
11+
12+ // Store the line margin to compare with the settings.html later.
13+ store-css: (setting_line_margin, ".setting-line", "margin")
14+
1115// Let's close it by clicking on the same button.
1216click: "#settings-menu"
1317wait-for-css: ("#settings", {"display": "none"})
@@ -211,6 +215,9 @@ assert-css: (".setting-line", {"position": "relative"})
211215assert-attribute-false: ("#settings", {"class": "popover"}, CONTAINS)
212216compare-elements-position: (".sub form", "#settings", ("x"))
213217
218+ // Check that setting-line has the same margin in this mode as in the popover.
219+ assert-css: (".setting-line", {"margin": |setting_line_margin|})
220+
214221// We now check the display with JS disabled.
215222assert-false: "noscript section"
216223javascript: false
You can’t perform that action at this time.
0 commit comments