mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-26 22:44:45 +02:00
New test: first slide visible
This commit is contained in:
@@ -33,6 +33,12 @@ test.serial('WebSlides object exits', async t => {
|
|||||||
.then( ws => { t.truthy(ws); } );
|
.then( ws => { t.truthy(ws); } );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test.serial('First slide visible', async t => {
|
||||||
|
await page_
|
||||||
|
.evaluate( () => window.ws.slides[0].el.style.display != 'none' )
|
||||||
|
.then( ws => { t.truthy(ws); } );
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Last test
|
* Last test
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user