11describe ( 'build' , ( ) => {
22 function testUrl ( dir : string , isDist : boolean , isPwa : boolean ) {
33 cy . visit ( `/test-app/output/${ dir } /` ) ;
4- cy . get ( '#div' ) . should (
5- 'contain' ,
6- `Built with Build Time Render: true
7- Currently Rendered by BTR: false`
8- ) ;
94 cy . get ( '#app-root' ) . should ( 'contain' , 'Lazy Widget using dojorc configuration' ) ;
105 cy . get ( '#div' ) . should ( 'have.css' , 'background-color' , 'rgba(0, 0, 0, 0.5)' ) ;
116 cy . get ( '#vars' ) . should ( 'have.css' , 'outline-color' , 'rgba(255, 0, 0, 0.5)' ) ;
@@ -18,6 +13,11 @@ Currently Rendered by BTR: false`
1813 cy . get ( '#div[has-prod=prod]' ) . should ( isDist ? 'exist' : 'not.exist' ) ;
1914 cy . get ( '#div[dojo-debug=true]' ) . should ( isDist ? 'not.exist' : 'exist' ) ;
2015 cy . get ( '#div[has-ci=ci]' ) . should ( isDist ? 'not.exist' : 'exist' ) ;
16+ cy . get ( '#div' ) . should (
17+ 'contain' ,
18+ `Built with Build Time Render: true
19+ Currently Rendered by BTR: false`
20+ ) ;
2121
2222 cy . get ( 'meta[name="mobile-web-app-capable"]' ) . should ( isPwa ? 'exist' : 'not.exist' ) ;
2323 cy . get ( 'meta[name="apple-mobile-web-app-capable"]' ) . should ( isPwa ? 'exist' : 'not.exist' ) ;
@@ -54,7 +54,7 @@ Currently Rendered by BTR: false`
5454 it ( 'dev-pwa' , ( ) => {
5555 testUrl ( 'dev-pwa' , false , true ) ;
5656 } ) ;
57- it ( 'dev-app ' , ( ) => {
57+ it ( 'dev-pwa-evergreen ' , ( ) => {
5858 testUrl ( 'dev-pwa-evergreen' , false , true ) ;
5959 } ) ;
6060 } ) ;
0 commit comments