From 96fc397c6a6ed1b2b9cac2ae169ce4dfab0f60d7 Mon Sep 17 00:00:00 2001 From: Sudharaka Date: Sat, 10 Feb 2024 09:26:02 -0800 Subject: [PATCH] feat: add support for testing without booking --- .github/workflows/booking.yml | 2 +- helpers/bookSlot.mjs | Bin 1419 -> 1548 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/booking.yml b/.github/workflows/booking.yml index bfd97c5..29d0c06 100644 --- a/.github/workflows/booking.yml +++ b/.github/workflows/booking.yml @@ -67,7 +67,7 @@ jobs: # Runs Puppeteer - name: Run Puppeteer - run: export PERSON="${{ matrix.person }}" && node add-to-cart.mjs + run: export PERSON="${{ matrix.person }}" ENV_NAME="${{ github.event.client_payload.environment || 'test' }}" && node add-to-cart.mjs # Archive Debug Logs - name: Archive Debug Logs diff --git a/helpers/bookSlot.mjs b/helpers/bookSlot.mjs index 8e88cd072d385b6555bf55d04f403437031d24a5..b690970efacf748e3e7fd4c8520593e246ba7618 100644 GIT binary patch literal 1548 zcmV+n2J`s7${Do$M3hUI=H3K(-C0A5AnRpi8%7r6{Bwu${RbVu@4o(X=V?Bdx~YGl!wK2 z;XB$Q+a;Oc<(;BXP}g3Vfj@y#-qeYCq^JJ4_S|}8)s-uQxX(y8&gDf;$V;iaaA#R| z9h1f;U8pP#$>rMZ^2R?B)(3gin%=K{Z@JGliq6-oVF7Qe4x^Nw(mT|vBk zrTH;>?klFdMYG#`WLGR|kJI2gR-8o9(jfaffmit9R(mw522AxL%s0lIwy1cseRmk2 z>hP&bQ`PwpM)U`m8dM+XG^)CQS5MHm7e;0=Rr<}B<|U{{bo-ea(6G|B&w1Sj)Lr`F zHA9W_nXy|84CWh};znlSEHKFHQ%IWOof6F__W(3w55&jYsoZYhGG>0#do~FcH00bY zH}PmXF=8?tEHyZs5A_}>s+TcuzFH)o?&q8X@S3D~u#F%c_hwGllV}5FQfZ>w*$f*| za)|_2LDK6%ceBrlrAuP9tnuaIcG5Tag0VB3t_sPrMb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