18 lines
411 B
JavaScript
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);
|
|
}); |