Bird
0
0

In a CI pipeline running Selenium tests with pytest, if the generated test report indicates some tests failed, what is the typical consequence?

medium📝 Predict Output Q5 of 15
Selenium Python - CI/CD Integration
In a CI pipeline running Selenium tests with pytest, if the generated test report indicates some tests failed, what is the typical consequence?
AThe CI pipeline will ignore failures and continue without any alerts.
BThe CI build will be marked as failed or unstable depending on configuration.
CThe test report will be deleted automatically to save space.
DThe Selenium tests will be rerun automatically until all pass.
Step-by-Step Solution
Solution:
  1. Step 1: Understand CI behavior on test failures

    Most CI systems mark the build as failed or unstable if test reports show failures.
  2. Step 2: Effect on pipeline

    This failure status can halt deployment or notify developers to fix issues.
  3. Final Answer:

    The CI build will be marked as failed or unstable depending on configuration. -> Option B
  4. Quick Check:

    Check CI build status after test failures [OK]
Quick Trick: Test failures usually fail the CI build [OK]
Common Mistakes:
  • Assuming CI ignores test failures by default
  • Expecting automatic retries without configuration
  • Thinking reports are deleted after failures

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Selenium Python Quizzes