← Back to team overview

desktop-packages team mailing list archive

[Bug 918746] [NEW] QA Tool: Add an env switch to disable certificates validation for use in testing

 

Public bug reported:

It would be very useful for QA and devs to have the ability to disable
certificates validation when testing with local/non-production servers.
We need to add an environment variable such that we can switch this off
if needed during testing.

Test case for Oneiric SRU:

NOTE: This is a QA mode feature only and will not affect normal
operation, so the test case is to simply verify that there are no
regressions.

1. Install the version of software-center in oneiric-proposed.
2. Launch Software Center and select the "For Purchase" popup menu item in the "All Software" toolbar item.
3. Select an enticing item from the list and click the "Buy" button (note you will not need to complete the purchase to verify correct operation).
4. Log in to your Ubuntu SSO account. 
5. Select "Credit Card" as your method of payment.
6. Do not fill in any info in the screen that appears. Instead, just scroll down and click the "Cancel" link.
7. After a few seconds, the purchase will be canceled and you will be returned to the Software Center view for the item.

** Affects: software-center (Ubuntu)
     Importance: Low
     Assignee: Gary Lasker (gary-lasker)
         Status: Fix Committed

** Changed in: software-center (Ubuntu)
   Importance: Undecided => Low

** Changed in: software-center (Ubuntu)
       Status: New => In Progress

** Changed in: software-center (Ubuntu)
     Assignee: (unassigned) => Gary Lasker (gary-lasker)

** Branch linked: lp:~gary-lasker/software-center/staging-certs-2

** Branch linked: lp:~gary-lasker/software-center/staging-
certs-2-for-5.0

** Changed in: software-center (Ubuntu)
       Status: In Progress => Fix Committed

** Summary changed:

- QA Tool: Add the an env switch to disable certificates validation for use in testing
+ QA Tool: Add an env switch to disable certificates validation for use in testing

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/918746

Title:
  QA Tool: Add an env switch to disable certificates validation for use
  in testing

Status in “software-center” package in Ubuntu:
  Fix Committed

Bug description:
  It would be very useful for QA and devs to have the ability to disable
  certificates validation when testing with local/non-production
  servers. We need to add an environment variable such that we can
  switch this off if needed during testing.

  Test case for Oneiric SRU:

  NOTE: This is a QA mode feature only and will not affect normal
  operation, so the test case is to simply verify that there are no
  regressions.

  1. Install the version of software-center in oneiric-proposed.
  2. Launch Software Center and select the "For Purchase" popup menu item in the "All Software" toolbar item.
  3. Select an enticing item from the list and click the "Buy" button (note you will not need to complete the purchase to verify correct operation).
  4. Log in to your Ubuntu SSO account. 
  5. Select "Credit Card" as your method of payment.
  6. Do not fill in any info in the screen that appears. Instead, just scroll down and click the "Cancel" link.
  7. After a few seconds, the purchase will be canceled and you will be returned to the Software Center view for the item.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/918746/+subscriptions


Follow ups

References