Gizra / Municipality

https://dev-municipality.pantheonsite.io/
1 stars 0 forks source link

News Item Pages Sanity/Automatic Tests [5h] #397

Open noamoss opened 7 years ago

noamoss commented 7 years ago

This list is index of manual and automatic tests for a news page, and its header and footer. It should include all relevant PRs for tests, and therefore, description to be updated proactively by QA.

This list is index of manual and automatic tests for a basic page, and its header and footer. It should include all relevant PRs for tests, and therefore, description to be updated proactively by QA.

All users

When and I (do)... Then Issue PR Manual/ Behat/ SimpleTest / WDIO Code reference
Browse the news page and there is a content in the selected language I see the body+header+footer content in the chosen language #453 WDIO test test2

Editor

When and I (do)... Then Issue PR Manual/ Behat/ SimpleTest / WDIO Code reference
Create a new news items in the default language and I save it with a path alias the page is visibly for all users to display in the chosen url alias
Edit an existing news item title and I save it the updated title is visibly for all users to display in the chosen url alias
Edit an existing news item Add an image to a page body thorugh WYSIWG and save image is visible in the news page to all users
Add an translation (new lagnuage) to an existing news item and I save it the new translation is displayed to all users, with the correct language selected in the top menu
Unpublish an existing page and I save it the page is not visible to anonymous users, but available for editors and admin
connect a news item to a topic and I save it the news title appears in the relevant topic page for all users
disconnect a news item to a topic and I save it the news title disappears in the relevant topic page for all users
noamoss commented 7 years ago

@savyoncohen basic list is ready, let's start with these before adding more.

savyoncohen commented 7 years ago

@noamoss After your comment here, please confirm that I can remove the second test for all users ^^

noamoss commented 7 years ago

@savyoncohen yes. we are giving up on it for now.