rockmelonqa / rockmelonqa-ide

Test Automation IDE that generates and runs Playwright and Selenium code
MIT License
4 stars 3 forks source link

Editor redesign #118

Closed brogreenmoon closed 1 year ago

brogreenmoon commented 1 year ago

Change the page definition and test case editors so editing can be done in a tabular format. This will allow for more content to be shown onscreen, which is particularly relevant for lengthy test cases with numerous comments.

image

  1. Expand Data into multiple dataset columns, as per the description below.
  2. Highlight the selected line being edited (not essential - our current field-selection highlighting might be good enough, let's see how it looks)
  3. Make the column widths resizable, and persist the widths so new windows are opened with the column widths of the user's choosing
  4. Show plus, delete and "..." actions in the Actions section. The actions to list under the "..." sub-menu are:
  1. Show the comment in green, but don't show the "Comment" label in the current version
  2. Make the table scrollable rather than the entire window

I think we want the table border to be a very light grey so the lines don't feel too heavy.

This ticket also needs to take into account tickets #46 and #108

Multiple Datasets

Test routines support multiple datasets. We need to show these datasets in the test case editor view so the user can visualise the data that applies in each scenario.

When a test case has no test routines add/edit values in the Data column (existing functionality).

When a test case calls a test routine with 1..n datasets - rename the "Data" column to "Dataset 1" and add "Dataset 2..n" columns:

image

  1. Data for test case steps can only be edited against Dataset 1 and are applied to all other datasets. Show the test case data fields for datasets 2..n as read-only.
  2. Allow the user to expand the test routines being called to see all the actions and data that applies. All data for test routines is read-only in the grid. Show the dataset fields for test routines as read-only