Skip to content

chore: fix all playwright warnings and cut CI time by 10% - #9071

Merged
jackkav merged 7 commits into
Kong:developfrom
jackkav:chore/spped-up-pre-req-tests
Sep 3, 2025
Merged

jackkav merged 7 commits into
Kong:developfrom
jackkav:chore/spped-up-pre-req-tests

Conversation

@jackkav

@jackkav jackkav commented Aug 28, 2025 •

Copy link
Copy Markdown
Contributor

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 a team and ihexxa 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

@ihexxa ihexxa left a comment

Copy link
Copy Markdown
Contributor

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
@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