Replicate 'Begin' button at the top of the page

yched - January 26, 2008 - 22:54
Project:SimpleTest
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Usual workflow on the admin/build/simpletest page is :
1 - Run tests : Hit 'Begin' again
2 - Look at the results at the top of the page
3 - If errors, fix the code in the module (or in the test...)
4 - Goto 1 : Scroll down to the bottom of the page and hit 'Begin' again.

Having the 'Run tests' fieldest replicated at the top of the page would avoid repetitive 'scroll to bottom'.

#1

webchick - January 27, 2008 - 04:55

Oooo. +1. I usually do Ctrl+R and hit "OK" on the error from Firefox that warns me I'm about to re-submit POST values. Faster, but pretty clunky. ;)

#2

Rok Žlender - January 28, 2008 - 08:26

This patch should do the trick. Though I must admit it looks kinda weird. Maybe we could only show it when results are displayed or something similar. Visiting this page for the first time someone may wonder what that begin button does.

AttachmentSize
dupBeginButton.patch689 bytes

#3

Rok Žlender - January 28, 2008 - 08:26
Status:active» patch (code needs review)

#4

boombatower - March 17, 2008 - 23:33

Here is a patch that places the run fieldset at the top and bottom.

AttachmentSize
simpletest_duplicate_run.patch1.69 KB

#5

soxofaan - April 19, 2008 - 00:26

Isn't #230269: Running tests directly via URL a better solution for this workflow problem?
(so this issue can be closed?)

#6

boombatower - May 15, 2008 - 01:04
Status:patch (code needs review)» won't fix

@#5: wouldn't help for running multiple tests.

This is solved with 7.x themed form which should be ported at some point.

 
 

Drupal is a registered trademark of Dries Buytaert.