You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/skills/ui-action/SKILL.md
+2-9Lines changed: 2 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,20 +214,13 @@ Set `"failFast": false` on a step to record a failure without aborting the probe
214
214
|`closeView`|`idRef`| — | Hides the view if present. |
215
215
|`invokeCommand`|`idRef` (command id) | — | Runs via `IHandlerService#executeCommand`. |
216
216
|`click`|`locator`| — | Reflective `click()` on matched widget. |
217
-
|`typeIn`|`locator`, `text`| — | Sets text programmatically via `setText`. Does **not** fire key events — use `typeKeys` when key listeners (e.g. content-assist) must trigger. |
218
-
|`typeKeys`|`locator`, `text`| — | Types text character-by-character via keyboard simulation. Fires real key events, triggering listeners like content-assist auto-activation. Use for `/` in the chat input. |
217
+
|`typeIn`|`locator`, `text`| — | Works on text / styled-text widgets. |
219
218
|`clearElement`|`locator`| — | Sets text to empty. |
220
219
|`waitFor`|`locator`|`timeoutSec` (default 30) | Polls until locator resolves. |
221
220
|`waitForMethod`|`locator`, `method`|`timeoutSec` (default 30), `expectedValue`| Polls until a no-arg getter on the located widget returns non-null (and non-empty for `String`), or — if `expectedValue` is set — until `toString()` equals it. Invoked reflectively via the class hierarchy. Use for UI-exposed state not reachable via finders, e.g. `DropdownButton.getSelectedItemId()`. |
|`assertContentAssist`|`text`|`shouldExist` (default true) | Asserts that the visible content-assist popup contains (or does not contain) a proposal whose text includes `text`. Type `/` and `sleep` before calling to let the popup render. |
|`createProject`| — |`text` (default `"probe-project"`) | Creates and opens an Eclipse project in the workspace. No-op if it already exists. The Tycho test workbench starts empty — call this before any `createWorkspaceFile` / `deleteWorkspaceFile` step. |
227
-
|`createWorkspaceFile`|`path`|`content`| Creates a file (and parent folders) in the first open workspace project. |
228
-
|`deleteWorkspaceFile`|`path`| — | Deletes a file from the first open workspace project. |
229
-
|`openPreferencePage`|`pageId`| — | Opens the Preferences dialog directly to the given page id. |
230
-
|`waitForJobFamily`|`jobFamily`|`timeoutSec` (default 30) | Waits for all Eclipse Jobs in the given family to finish. |
231
224
232
225
## Locator reference
233
226
@@ -303,4 +296,4 @@ action is usable from every probe.
303
296
### Keep one probe focused
304
297
305
298
Each JSON script represents one test case. Split unrelated behaviours into
306
-
separate probes so a single `FAILED-step…` screenshot tells you what broke.
299
+
separate probes so a single `FAILED-step…` screenshot tells you what broke.
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.swtbot.test/src/com/microsoft/copilot/eclipse/swtbot/test/probe/Locator.java
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.swtbot.test/src/com/microsoft/copilot/eclipse/swtbot/test/probe/ProbeStep.java
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -50,18 +50,6 @@ public class ProbeStep {
50
50
*/
51
51
publicStringexpectedValue;
52
52
53
-
/** Eclipse preference page id (for openPreferencePage). */
0 commit comments