Postponed (maintainer needs more info)
Project:
Drupal.org BDD
Version:
7.x-1.x-dev
Component:
Feature/Scenarios
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Oct 2012 at 13:38 UTC
Updated:
20 Dec 2012 at 15:17 UTC
Comments
Comment #1
kssundar commentedThe homepage does not have any Case study display on git6site
Comment #2
pradeeprkara commentedSame with git7site. It is reported here:#1824410: Front - Image for "Site made with Drupal" not found
Comment #3
kssundar commentedThe slideshow in "/case-studies" is also cached. Currently I can see as below:
Page: /case-studies/manage
1. OnFlooring
2. The New MSKCC.org
3. BRIXS Group - An SEO Perspective
4. Sandusky Radio: 11 Stations, 1 CMS
Page: /case-studies
1. OnFlooring
2. The New MSKCC.org
3. BRIXS Group - An SEO Perspective
4. The Hopkins Company Architects
This is causing the test to fail. Any thoughts here?
Comment #4
kssundar commentedI have created this feature with new step definitions here - http://drupalcode.org/project/doobie.git/commit/4a61dcd
There are two scenarios:
1. The first scenario checks if the slideshow has the recently updated featured case studies or not. This is currently failing because of cache as explained in comment #3
2. The second scenario checks if the case study present on the homepage is one of the recent 10 featured case studies or not. This is also failing as mentioned in comment #1
Comment #5
kssundar commentedUpdating title
Comment #6
tvn commentedRe: #3 on case-studies/manage case studies are sorted by "Last updated" date, on /case-studies and in the slideshow they are sorted by "Authored on" date. Those dates can be different because people keep editing their case studies.
So if we want to use comparison with the list on case-studies/manage for this test - we need to modify that view and add "Authored on" column (which we can do on D7 only).
Alternatively, there is a page http://drupal.org/case-studies/featured, which shows all featured case studies, sorted by "Authored on" date, just without a slideshow.
Probably even better way to test this is next: create new case study, promote it to Featured, go on /case-studies -> it should be first one in the slideshow.
For the front page scenario, again - comparison with /manage won't work for the same reasons as mentioned above.
Re: #1 and 2. On the git7 site case studies functionality isn't ported yet afaik. For git6 - I'm working to get case studies displayed there.
Comment #7
kssundar commentedConsidered case-studies/featured and updated the feature accordingly.
Committed here - http://drupalcode.org/project/doobie.git/commit/4222c97
Comment #8
tvn commentedCase studies show up on the front page on git6 site now. This is done via "drush rebuild-stats". So far it's only till the next site rebuild, but probably can be automated later.
- since in fact it's one of the 10 recently published, this scenario will fail sometimes.
Comment #9
kssundar commentedThis page http://drupal.org/case-studies/featured gives only 8 items per page. Any other way to get 10 items?
Comment #10
tvn commentedNo :( Probably we'll need to update /manage view on D7 after all.
Comment #11
kssundar commentedFor 6.x, we can comment out the second scenario "Scenario: Cases study block on front page" as 10 case studies are not available on featured page for comparison. We can handle that in D7 later. Any other suggestions here?
Comment #12
eliza411 commentedYes, you can comment out the second scenario and focus on this when the @casestudies feature gets reviewed for D7.
Comment #13
tvn commentedAgree with eliza411.
Comment #14
kssundar commentedCurrently on git7, the page http://git7site.devdrupal.org/case-studies/featured shows only 8 items perpage. As per #10, we need 10 items on this page otherwise the test result will appear flaky.
Comment #15
kssundar commentedPorted to 7.x - http://drupalcode.org/project/doobie.git/commit/9e709f1
Comment #16
eliza411 commentedThis is as ready as it can be until the D7 Drupal.org site is ready for feedback. I'm marking as Postponed because I'm still unclear on the number of results and amount of data expected - is it important that the view has been changed from 10 to 8 results? Seems like it'll need to be addresses as part of the feature set review.
Comment #17
tvn commentedThe view had 8 results by design. We'll deal with this when D7 version is ready - either by changing the view to show 10 items or by changing the code for case study block on the front page to choose from 8 latest case studies instead of 10.
Comment #17.0
tvn commented.