File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ assert-false: "#settings"
8
8
click: "#settings-menu"
9
9
wait-for: "#settings"
10
10
assert-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
+
11
15
// Let's close it by clicking on the same button.
12
16
click: "#settings-menu"
13
17
wait-for-css: ("#settings", {"display": "none"})
@@ -211,6 +215,9 @@ assert-css: (".setting-line", {"position": "relative"})
211
215
assert-attribute-false: ("#settings", {"class": "popover"}, CONTAINS)
212
216
compare-elements-position: (".sub form", "#settings", ("x"))
213
217
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
+
214
221
// We now check the display with JS disabled.
215
222
assert-false: "noscript section"
216
223
javascript: false
You can’t perform that action at this time.
0 commit comments