File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,27 @@ describe('Test EXAMPLE config', () => {
1919 cy . clearOPFS ( ) ;
2020 } ) ;
2121
22+ it ( 'form meta: title' , ( ) => {
23+ cy . title ( ) . should ( 'eq' , 'Form example' ) ;
24+ } ) ;
25+
26+ it ( 'form meta: logo' , ( ) => {
27+ cy . get ( 'img.logo' )
28+ . should ( 'be.visible' )
29+ . and ( ( $img ) => {
30+ expect ( $img [ 0 ] . naturalWidth ) . to . be . greaterThan ( 0 ) ;
31+ } ) ;
32+ } ) ;
33+
34+ it ( 'form meta: custom CSS' , ( ) => {
35+ cy . get ( "html" )
36+ . should (
37+ 'have.css' ,
38+ 'background-color' ,
39+ 'rgb(213, 245, 255)' // RGB for HEX from custom.css #d5f5ff
40+ ) ;
41+ } ) ;
42+
2243 it ( '"static fieldset" link is clicked and its label becomes visible' , ( ) => {
2344 cy . contains ( 'Static elements' ) . click ( ) ;
2445 cy . get ( '#fieldset0\\.fieldset_static > div.label' ) . should ( 'be.visible' ) ;
You can’t perform that action at this time.
0 commit comments