-
-
Notifications
You must be signed in to change notification settings - Fork 366
ci: adjust retry config for e2e #11449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe change updates the Playwright configuration by modifying the number of test retries. When the CI environment variable is set to true, the test runner now allows 3 retries instead of the previous 1, while keeping retries at 0 otherwise. This adjustment aims to enhance the robustness of tests in continuous integration environments. Changes
Sequence Diagram(s)sequenceDiagram
participant Env as Environment Variable
participant Runner as Test Runner
Runner->>Env: Check if CI is true
alt CI true
Env-->>Runner: Yes, CI enabled
Runner->>Runner: Apply retries = 3
else CI false
Env-->>Runner: No, CI disabled
Runner->>Runner: Apply retries = 0
end
Runner->>Runner: Execute tests with configured retry count
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for polkadot ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type
Context
for example on my PR, at 1st attemp it fails in some test: https://github.com/kodadot/nft-gallery/actions/runs/13542598738/attempts/1?pr=11448
after retry the test, it just works: https://github.com/kodadot/nft-gallery/actions/runs/13542598738?pr=11448
Summary by CodeRabbit