We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7cde19 commit 8b54d4cCopy full SHA for 8b54d4c
.github/workflows/run-k6-load-test.yml
@@ -46,6 +46,4 @@ jobs:
46
cloud: ${{ github.event.inputs.cloud }}
47
token: ${{ secrets.K6_CLOUD_API_TOKEN }}
48
filename: ${{ github.event.inputs.filename }}
49
- flags: ${{ github.event.inputs.flags }}
50
- env:
51
- BASE_URL: ${{ github.event.inputs.environment }}
+ flags: -e BASE_URL=${github.event.inputs.environment} ${{ github.event.inputs.flags }}
packages/theme/tests/load/searchProduct.js
@@ -22,6 +22,10 @@ export const options = {
22
23
const { BASE_URL } = __ENV;
24
25
+if (BASE_URL === undefined) {
26
+ throw new Error('BASE_URL is not set');
27
+}
28
+
29
export default function main() {
30
let response;
31
0 commit comments