From 183db11b78a986ac36e7b10c5e74b50dc6b21b6c Mon Sep 17 00:00:00 2001 From: mertmit Date: Sat, 25 Oct 2025 13:10:07 +0300 Subject: [PATCH] chore: cycle test base to avoid hitting api limit Signed-off-by: mertmit --- tests/playwright/constants/index.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/playwright/constants/index.ts b/tests/playwright/constants/index.ts index 535a4945b3..80c8314548 100644 --- a/tests/playwright/constants/index.ts +++ b/tests/playwright/constants/index.ts @@ -1,5 +1,13 @@ +const airtableApiBases = [ + 'https://airtable.com/appZtc5xOWQkUL4Ok/shrrfpcWoNa5QGGSI', + 'https://airtable.com/appBnSP4VbJtKTTHB/shrfiNNg3yk9A0APu', + 'https://airtable.com/appPFK0xj5jTQR6wQ/shr6zjJvrUbSvfGPq', + 'https://airtable.com/apprb2mFeIlQitU0o/shrY6swT2FOy9X1Bl', +]; +const today = new Date(); + const airtableApiKey = 'pat23tPxwKmp4P96z.6b96f6381ad1bf2abdbd09539ac64fdb898516693603137b66e1e4e5a41bca78'; -const airtableApiBase = 'https://airtable.com/appy4lygutPj7UqiZ/shrIbD78QnzJnWygX'; +const airtableApiBase = airtableApiBases[today.getDate() % airtableApiBases.length]; const defaultBaseName = 'Base';