Skip to content
Snippets Groups Projects
Commit 70be5a30 authored by chrisgarrity's avatar chrisgarrity
Browse files

Add what’s new tutorial (hidden)

parent 9df5b773
No related branches found
No related tags found
No related merge requests found
......@@ -1195,5 +1195,12 @@ export default {
}],
urlId: 'ev3',
hidden: true
},
'whats-new': {
steps: [{
video: 'mtqymxg0qq'
}],
urlId: 'whatsnew',
hidden: true
}
};
......@@ -9,6 +9,7 @@ const {
} = new SeleniumHelper();
const uri = path.resolve(__dirname, '../../build/index.html?tutorial=all');
const uriPrefix = path.resolve(__dirname, '../../build/index.html?tutorial=');
let driver;
......@@ -28,5 +29,10 @@ describe('Working with shortcut to Tutorials library', () => {
await findByXpath('//div[contains(@class, "step-video")]');
});
test('can open hidden tutorials', async () => {
await loadUri(`${uriPrefix}whatsnew`);
// should open the tutorial video immediately
await findByXpath('//div[contains(@class, "step-video")]');
});
// @todo navigating cards, etc.
});
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