@@ -60,7 +60,7 @@ choose to go through some of the Optional Test Cases.
6060 - Check that the results table is rendered
6161 - Check that result locations can be clicked on
6262
63- #### Test case 3 : Can use AST viewer
63+ #### Test case 4 : Can use AST viewer
6464
65651 . Click on any code location from a previous query to open a source file from a database
66662 . Open the AST viewing panel and click "View AST"
@@ -143,6 +143,39 @@ Run one of the above MRVAs, but cancel it from within VS Code:
143143- Check that the workflow run is also canceled.
144144- Check that any available results are visible in VS Code.
145145
146+ ### CodeQL Model Editor
147+
148+ Note: this is still behind feature flags.
149+
150+ #### Test Case 1: Opening the model editor
151+
152+ 1 . Download the ` dsp-testing/sql2o-example ` database from GitHub.
153+ 2 . Open the Model editor with Cmd+P "Open CodeQL Model Editor".
154+ - Check that the editor loads and shows methods to model.
155+ - Check that methods are grouped per library.
156+ - Check that the "Open database" link works.
157+ - Check that the "Open extension pack" link works.
158+
159+ #### Test Case 2: Model methods
160+
161+ 1 . Expand one of the packages
162+ - Change the model type and check that the other dropdowns change.
163+ 2 . Save the modeled methods.
164+ - Check that the model ` yml ` file has the entries that was modeled.
165+
166+ #### Test Case 3: Model with AI
167+
168+ 1 . Click "Model with AI".
169+ - Check that rows change to "Thinking".
170+ - Check that results come back and rows get filled out.
171+
172+ #### Test Case 4: Model as dependency
173+
174+ 1 . Click "Model as dependency"
175+ - Check that grouping are now per package.
176+ 2 . Click "Generate".
177+ - Check that rows are filled out.
178+
146179### General
147180
148181#### Test case 1: Change to a different colour theme
0 commit comments