Skip to content
Snippets Groups Projects
Commit 9ae345bb authored by Mohamed Amine Ben Salah's avatar Mohamed Amine Ben Salah
Browse files

fixes presentation automated test

parent a51105fa
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,16 @@ const Slide = require('./presentation/slide');
const Upload = require('./presentation/upload');
describe('Presentation', () => {
beforeEach(() => {
jest.setTimeout(30000);
});
test('Skip slide', async () => {
const test = new Slide();
let response;
try {
await test.init(Page.getArgs());
await test.closeAudioModal();
response = await test.test();
} catch (e) {
console.log(e);
......@@ -22,6 +27,7 @@ describe('Presentation', () => {
let response;
try {
await test.init(Page.getArgs());
await test.closeAudioModal();
response = await test.test();
} catch (e) {
console.log(e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment