Download & Extend

Discounts in the Simpletest Browser

Project:Ubercart Discounts (Alternative)
Version:6.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,
I am using Simpletest module to test all steps that a order do.

Simpletest has a browser that simulates a user accessing the pages. This browser create clones of some database tables and sets a new site to be tested. I enabled the test verbose, so I can see this pages "screenshots" in each part that Simpletest browser access.

My problem is, when the Simpletest browser access the "cart/checkout", in the discounts list are the discounts of the original site and not of the test site.

I wrote a test that simulates this.
Before run the test, you need add a product to the cart. Make sure that there are discounts to this product and these discounts are showing in the cart/checkout page below "Enter discount codes".
You need to enable the verbose in the Simpletest settings.

Someone has some idea about this issue?

Thanks.

AttachmentSize
drupal6test.test3.23 KB
nobody click here