Problem/Motivation
We currently have quite a few tests skipped due to known random failures. Skipping lots of tests have the positive impact of having more consistent test results, but has the downside of reduced test coverage. At the moment, there isn't documented easy way to run all of the skipped tests for changes that have higher risk of introducing regressions.
Proposed resolution
Move skipped tests to a new test group that is not executed by default on a test run. Document how to modify drupalci.yml to include the risky tests on the test run, so that changes that have higher risk of introducing regressions can be run against those.
Comments
Comment #2
alexpottThis seems like a good idea - tests can have more than one group and we can automagically skip the tests in WebDriverTestBase::setUp is they have this group.
Comment #3
alexpottOne thing is that not all the tests that are skipped are skipped at the beginning so that'd make this hard... maybe we need to override markTestSkipped on WebDriverTestBase and make that not skip if you have an environment variable set.
Comment #4
lauriiiThat's a good point! The reason I thought about the group was that it would then also allow making a separate patch that would only run the risky tests which would make the test run faster.