Create browser tests

Created on 16 May 2022, about 2 years ago
Updated 15 June 2024, 13 days ago

With automated tests it would be easier to develop further functionality with knowing that they will remain to work at all circumstances.

Test cases for table field type:

1. create a node type with Table field stored as CSV, create node with table data, and the given table data displays when I visit the node
2. the same, just with JSON stored table field

Test cases for module settings

3. /admin/config/content/blizz_table_field/settings should only be visible with 'access administration pages' permission
4. The text in the "Formatting options" setting should be displayed on the node create and edit form in a details form element container (together with the table field widget). If this text is empty, this details form element container should not be displayed on the node form.

Test cases for the field formatter

5. when setting the table formatter to render headers or not should reflect on the node page
6. set the table formatter to use markdown code, and create a node where in table cells markdown is used, for example setting bold text in cell
7. set the table formatter to NOT use markdown code, and create a node where in table cells markdown is used, for example setting bold text in cell

Test cases for the field widget

8. is table widget minimal columns and rows setting working
9. is table widget readonly columns and rows setting working
10. is table widget limit operations (for the widget right click context menu) setting working properly

🌱 Plan
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia kaszarobert

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.69.0 2024