Ensure that the settings CSS is loaded on the settings page
This commit is contained in:
parent
92482cabaa
commit
dd6bb09133
1 changed files with 5 additions and 0 deletions
|
|
@ -65,3 +65,8 @@ assert: ".setting-line.hidden #theme"
|
|||
// We check their text as well.
|
||||
assert-text: ("#preferred-dark-theme .setting-name", "Preferred dark theme")
|
||||
assert-text: ("#preferred-light-theme .setting-name", "Preferred light theme")
|
||||
|
||||
// Now we go to the settings page to check that the CSS is loaded as expected.
|
||||
goto: file://|DOC_PATH|/settings.html
|
||||
wait-for: "#settings"
|
||||
assert-css: (".setting-line .toggle", {"width": "45px", "margin-right": "20px"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue