Needs work
Project:
SimpleTest
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
2 Mar 2014 at 07:25 UTC
Updated:
7 Aug 2020 at 05:21 UTC
Jump to comment: Most recent, Most recent file
Follow-up to #2207341: "Re-run tests" form action broken

| Comment | File | Size | Author |
|---|---|---|---|
| #9 | drupal8.simpletest-results-ui.9.patch | 6.85 KB | sun |
| #1 | whenfailsandpasses.png | 362.95 KB | yesct |
| #1 | justfailing.png | 403.41 KB | yesct |
| #1 | justpasses.png | 181.33 KB | yesct |
| drupal8.simpletest-results-ui.0.patch | 6.86 KB | sun |
Comments
Comment #1
yesct commentedI read all the lines in the patch. Looks fine, nothing jumps out to concern me.
tested it with only passing tests
(entityaccess)
with only passing, primary button is return to list
and just failing
(patch from #1906810: Require type hints for automatic entity upcasting test: languageselect)
and both
when some fails, primary button is rerun tests.
very nice.
Comment #2
wim leersVery nice indeed :)
Comment #3
dries commented"Return to list" is still odd to me. It seems like that should be a link as it takes you to page instead of performing an action? Also, is "Back to overview" a better name?
Comment #4
dries commentedAnother thing that is slightly confusing in the screenshots: it says there are 6 fails but in the drop-down menu it says "Fail (1)". This seems to suggest there is 1 failure. I figure this could confuse people.
Comment #5
yesct commentedI think it is worth making return to list an action, so that it can be clear that that is the usual thing when everything passes. It is the primary thing to do then.
Fail (1) ... is a preexisting problem and not the fault of this issue.
We can fix that in another issue. Maybe to make it be Fail (1 test class)
And the other .. 38 asserts pass, 6 asserts failed, 3 debug messages.
But I dont know if asserts is universally accurate.
Comment #6
yesct commentedrelated issue created.
Comment #7
sunComment #9
sunDiff context conflict.
Comment #11
sun9: drupal8.simpletest-results-ui.9.patch queued for re-testing.
Comment #12
sunBack to RTBC.
For anyone who'd like to help getting rid of this: #2216701: Random test failure in ToolbarAdminMenuTest
Comment #14
sun9: drupal8.simpletest-results-ui.9.patch queued for re-testing.
Comment #15
yesct commentedthat random fail is fixed so should be rtbc still.
Comment #25
quietone commentedTriaging issues in simpletest.module to determine if they should be in the Simpletest Project or core.
This looks like it a simpletest module issue, changing the project.