@skylineos/clsp-player
Version:
Skyline Technology Solutions' CLSP Video Player. Stream video in near-real-time in modern browsers.
26 lines (21 loc) • 818 B
JavaScript
describe('Demo Page', () => {
describe('Base URL', async () => {
it('Should redirect to "/demos"', async () => {
await browser.url('/');
await expect(browser).toHaveUrl(expect.stringContaining('/demos'));
});
});
describe('Single Player Demo Button', async () => {
it('Should Exist', async () => {
await browser.url('/demos');
const SinglePlayerDemoButton = await $('button=Single Player Demo');
await expect(SinglePlayerDemoButton).toExist();
});
it('Should direct you to /single-player', async () => {
await browser.url('/demos');
const SinglePlayerDemoButton = await $('button=Single Player Demo');
await SinglePlayerDemoButton.click();
await expect(browser).toHaveUrl(expect.stringContaining('/single-player'));
});
});
});