Skip to content

chore: BROS-16: Experiments with tests [WIP] #7548

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

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

Gondragos
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented May 16, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 97503cf
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/682bafd58d459b00085bb092

Copy link

netlify bot commented May 16, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 97503cf
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/682bafd56b92fd0008323627

Copy link

netlify bot commented May 16, 2025

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit 97503cf
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/682bafd53fdc840008cd88af
😎 Deploy Preview https://deploy-preview-7548--label-studio-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the chore label May 16, 2025
Gondragos added 2 commits May 16, 2025 14:39
It's a copy of the same test in e2e tests
Replaced most prolonged `I.wait` calls with shorter and consistent wait durations to improve test performance.
- Adjusted delays to `0.016s` or other minimal values where applicable.
- Removed unused comments and disabled scenarios where appropriate.
- Enhanced test stability and responsiveness while maintaining accuracy.
@@ -22,7 +22,7 @@ module.exports.config = {
show: !headless,
restart: "context",
timeout: 60000, // Action timeout after 60 seconds
waitForAction: headless ? 300 : 1200,
waitForAction: 0,
Copy link
Collaborator

Choose a reason for hiding this comment

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

return headless mode

Enabled `.only` method to isolate and debug the date-time test scenarios. This ensures these tests are executed exclusively for troubleshooting specific issues.
@Gondragos Gondragos force-pushed the fb-BROS-16/test-optimizations branch from 89a7cd6 to 7fd8fcd Compare May 16, 2025 16:55
Gondragos added 2 commits May 16, 2025 18:30
Updated the Cypress configuration to include a specific specPattern for integration tests targeting files with ".only.cy" suffix. This change ensures only specific test files are executed during e2e testing. Renamed a test file to align with the updated specPattern.
@Gondragos Gondragos force-pushed the fb-BROS-16/test-optimizations branch from c98226e to 33a2643 Compare May 16, 2025 18:01
Added temporary test cases for Cypress and CodeceptJS to evaluate specific metrics during test running.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants