Skip to content

Commit

Permalink
slight refactor to browser code (#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcruz authored Oct 19, 2023
1 parent 06b44da commit 953845b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ export const options = {
},
},
},
thresholds: {
checks: ["rate==1.0"]
}
}

export default async function () {
Expand Down Expand Up @@ -242,9 +239,6 @@ export const options = {
},
},
},
thresholds: {
checks: ["rate==1.0"]
}
}

export default async function () {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ export const options = {
}

export default async function () {
const context = browser.newContext();
const page = context.newPage();
const page = browser.newPage();

try {
await page.goto('https://test.k6.io/my_messages.php');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ Note that providing an `executor` and setting the `browser` scenario option's `t
},
},
},
thresholds: {
checks: ["rate==1.0"]
}
}

export default async function () {
Expand Down Expand Up @@ -169,9 +166,6 @@ export const options = {
},
},
},
thresholds: {
checks: ["rate==1.0"]
}
}
export default async function () {
Expand Down

0 comments on commit 953845b

Please sign in to comment.