[Meta] Create Web Tests

Created on 4 November 2015, about 9 years ago
Updated 13 January 2024, 12 months ago

We have now have 1 web test #2574629: Test for visibility group creation through UI thanks to joshi.rohit100.

This is an issue to list what other tests we should have. I am listing a lot below. Feel free to add more.

If you want to take on specific tests please create a separate issue, leave a comment here and make this issue the parent issue. Also update the summary to reflect which test are currently being worked on.

Any help would be appreciated every test would make a difference and makes developing the module easier.

Visibility Tests

Issues: #2608736: Create Visibility tests , #3173540: Improved testing
I think these are probably the most important.

  1. Block is rendered when expected when 1 condition set. 1 test each for node type, path, user
  2. Block is NOT rendered when NOT expected when 1 condition set. 1 test each for node type, path, user (probably in same methods above)
  3. Block is rendered when expected when multiple conditions set and logic is AND.
  4. Block is NOT rendered when NOT expected when multiple conditions set and logic is AND (probably in same method above)
  5. Block is rendered when expected when multiple conditions set and logic is OR.
  6. Block is NOT rendered when NOT expected when multiple conditions set and logic is OR (probably in same method above)

UI Tests

Issue: #3173540: Improved testing
Existing class BlockVisibilityGroupsUITest has 1 test testBlockVisibilityCreation
Other possible tests

  1. Group edit page- Add condition
  2. Group edit page- Edit condition
  3. Group edit page- Delete condition
  4. Block Layout page- Add condition
  5. Block Layout page- Edit condition
  6. Block Layout page- Delete condition
  7. Block Layout page- Correct blocks show when dropdown: All Blocks, Global Blocks, Specific Group
  8. Block Configure Page - Visibility Group locked when adding from Group Page
  9. Block Configure Page - Redirects to Group layout page when coming from specific group layout page
  10. Block Configure Page - Other visibility settings don't exist when option is set in group

Other tests

Issue: #3173540: Improved testing

  1. Delete Visibility group - test all options for existing block when deleting
📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States tedbow Ithaca, NY, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024