1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-25 22:20:46 +02:00

New test: first slide visible

This commit is contained in:
Luis
2017-04-23 18:01:56 +02:00
parent d69046b670
commit 17cb40e21b

View File

@@ -33,6 +33,12 @@ test.serial('WebSlides object exits', async t => {
.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
*/