[FIX] website_sale: shop tutorial doesn't explicitly look for an ipad picture anymore

Previously, if you registered enough images to push the ipad one on page two, the test would fail to find it. Now it chooses the image with index 4, whatever it is.
This commit is contained in:
David Monjoie 2015-02-06 09:39:59 +01:00
parent 859979e949
commit 9bae596693
1 changed files with 3 additions and 3 deletions

View File

@ -62,13 +62,13 @@
content: _t("Click here to set an image describing your product."),
},
{
element: 'img[alt=ipad]',
element: '.existing-attachment-cell:eq(4) > img',
placement: 'top',
title: _t("Select an Image"),
content: _t("Let's select an ipad image."),
content: _t("Let's select this image."),
},
{
waitFor: '.media_selected img[alt=ipad]',
waitFor: '.existing-attachment-cell:eq(4).media_selected > img',
element: '.modal-content button.save',
placement: 'top',
title: _t("Save this Image"),