wordRotator/test/betaplay.testcafe.js
2018-09-24 14:06:24 +02:00

18 lines
411 B
JavaScript

import { Selector } from 'testcafe';
import {loadLastLevelTest, mainTest} from "./test";
fixture `betaPlay`
.page `http://beta.wordrotator.silas.link`
.httpAuth({
username: 'admin',
password: '20luxl200'
});
test('Play', async t => {
await t.wait(20000);
await mainTest(t);
});
test('LoadLastLevel', async t => {
await t.wait(20000);
await loadLastLevelTest(t);
});