Skip to content

Commit

Permalink
Scenario 1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoM769 committed Nov 12, 2024
1 parent 3430311 commit fc3333e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .greenfram.yml
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@

baseURL: http://localhost
projectName: EDUNOVA
scenarios:
- path: ./benchmark/scenario1.js
name: Consulter les cours
containers:
- edunova-static_hosting-1
11 changes: 11 additions & 0 deletions scenarios/scenario1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const visit = async (page) => {
await page.goto('', {
waitUntil: 'networkidle',
});
await page.waitForTimeout(10000);
await page.scrollToEnd();
await page.waitForNetworkIdle();
await page.waitForTimeout(7000);
};

module.exports = visit;

0 comments on commit fc3333e

Please sign in to comment.