In 1.0-rc4, Store administration > Configuration > Report settings page errors

Project: 
Ubercart
Category: 
bug report
Version: 
Ubercart 1.0 RC
Priority: 
normal
Assigned: 
Unassigned
Status: 
active

This is a new bug that was introduced in 1.0-rc4. The problem is in uc_reports.module line 842:

    '#options' => $statuses,

which should be

    '#options' => $options,

Hint: This problem was found immediately by regression testing with
Selenium

Re: In 1.0-rc4, Store administration > Configuration > Report se

Oh, wow. Thanks a lot for the quick find. How exactly do you set Selenium up? Have you configured it to perform certain actions for you, or does it sort of figure things out? Are these things exportable? Smiling

Selenium is a JavaScript

Selenium is a JavaScript library that runs in a browser and interprets a command file that you write. We use Selenium for Drupal/Ubercart/CiviCRM installation and configuration, as well as regression testing. Our regression tests expect to find our default configuration, which includes some patches. With that caveat, you are welcome to copy our code from our Subversion repository. Command line checkout is

svn co https://justice.dharmatech.org/svn

For a more user-friendly browsing experience try the WebSVN access.

Unfortunately we don't have an introductory document or an organized distribution. The command files that Selenium interprets are in the various Drupal repository branches. The files named config_*.template are Selenium command file templates which are customized by bash scripts located in the adm repository. The particular script that caught this particular bug is
config_tests.html.template
as customized by newdevlroles.

In general our scripts focus on the functions that we deliver to clients and do not attempt to be fully general, but maybe they could serve as a starting point for a more general test.

Re: Selenium is a JavaScript

I could not access your svn co, got prop error. Have you taken svn co offline?

Re: Re: Selenium is a JavaScript

Were you able to access our WebSVN? If you can do that you should see about seven repositories listed. On the command line, you need to specify one of those seven repositories, and you probably want to specify just one branch in that repository, for example:

svn co https://justice.dharmatech.org/svn/ubercart/drupal5/uc1/trunk

and, of course, accept our self-signed certificate Smiling