Comment 7 for bug 1356638

Revision history for this message
Niranjan (niranjan528) wrote :

URL :https://bugs.launchpad.net/mahara/+bug/1356638

Bug description:Can not see the image in the static page ‘Home’ for logged-in users.

Environment to be tested: Master
Browser to be tested: Chrome, Firefox, Safari, IE (Latest version)

Precondition:
1. A user ‘Admin’ with ‘Site admin’ privileges should be set up.
2. The institution 'Institution One' should be set up.
3. A normal user ‘User one’ and an institution admin ‘Inst admin’ should be set up.

Steps to reproduce:

1. Login as a ‘Admin’.
2. Navigate to Administration menu > Configure site > Files.
3. Click the ‘Browse’ button and upload an image. Do not add the image to the folder ‘public’.
4. Navigate to Administration menu > Configure site > Static pages.
5. Select ‘Home (Dashboard)’ from the ‘Page name’ drop down.
6. Click the ‘Insert/edit image’ icon from the menu bar under ‘Page text’.
7. Click the ‘Image’ panel.
8. Select the ‘Site files’ tab.
9. Select the image you uploaded in step 3.
10. Click the ‘Save changes’ button.
11. Navigate to the homepage.

Expected result: You should see the image as part of the text, and the text with the image shall not overlap the side blocks or the blocks below the text.

12. Log out of ‘Admin’ user.
13. Login as ‘User one’.

Expected result: You should see the image as part of the text, and the text with the image shall not overlap the side blocks or the blocks below the text.

14. Login as ‘Inst admin’.
15. Navigate to Administration menu > Institutions > Files
16. Click the ‘Browse’ button and upload an image. Make sure the image file is different from step 3.
17. Navigate to Administration menu > Institutions > Static pages.
18. Switch ‘Use site default’ to ‘No’.
19. Click the ‘Insert/edit image’ icon from the menu7 bar under ‘Page text’.
21. Click the ‘Image’ panel.
22. Select the ‘Institution files’ tab.
23. Select one of the image and click the ‘Submit’ button.
24. Click the ‘Save changes’ button.
25. Navigate to the homepage.

Expected result: You should see the image as part of the text, and the text with the image shall not overlap the side blocks or the blocks below the text.

24. Log out as ‘Inst admin’ user.
25. Log in as ‘User one’.

Expected result: You should see the image as part of the text, and the text with the image shall not overlap the side blocks or the blocks below the text.