stopped
'Openrunner-Script: v1';
const expect = await include('expect');
const tabs = await include('tabs');
await include('contentEvents');
await include('httpEvents');
await include('wait');
await include('eventSimulation');
const screenshot = await include('screenshot');
const requestBlocking = await include('requestBlocking');
const tab = await tabs.create();
await requestBlocking.block([
'*://*.google-analytics.com/*',
]);
await transaction('HomePage', async t => {
t.title = '00 Open the Home Page';
await tab.navigate('http://computest.nl/', {timeout: '10s'});
await tab.wait(async () => {
performanceLink = await wait.documentComplete().selectorAll('.article a').containsText('Performance').isDisplayed().first();
});
});
await transaction('Actueel', async t => {
t.title = '01 Click on Performance';
await tab.waitForNewPage(async () => {
await eventSimulation.click(performanceLink);
});
await tab.wait(async () => {
await wait.documentComplete();
});
});