Skip to content

Conversation

jackkav
Copy link
Contributor

@jackkav jackkav commented Aug 28, 2025

motivation: pre req tests count for about 15 tests each one was previously restarting the app between runs this costs 30-90 seconds depending on action runner specs and operating systems.

  • replace test cases test wrapper with single test with a foreach test case
  • Replaced timeouts with navigates and conditions with normalised arrays

measurements
before:
15m30s - 16m30s

after:
13m30s

saving 2-3 minutes per run

@jackkav jackkav requested review from ihexxa and a team September 2, 2025 10:50
@jackkav jackkav marked this pull request as ready for review September 2, 2025 11:07
@jackkav jackkav force-pushed the chore/spped-up-pre-req-tests branch from 63eabf4 to 9e1f06f Compare September 2, 2025 11:14
@jackkav jackkav changed the title chore: speed up pre req tests chore: fix all playwright warnings and cut CI time by 10% Sep 2, 2025
Copy link
Contributor

@ihexxa ihexxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job and thanks for consolidating these 🚀 .

@jackkav jackkav force-pushed the chore/spped-up-pre-req-tests branch from 6e0c75b to 05db8f1 Compare September 3, 2025 11:15
@jackkav jackkav enabled auto-merge (squash) September 3, 2025 11:15
@jackkav jackkav merged commit 593a05b into Kong:develop Sep 3, 2025
9 of 10 checks passed
@jackkav jackkav deleted the chore/spped-up-pre-req-tests branch September 3, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants