askui 0.25.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -176,10 +176,6 @@ class CreateExampleProject {
|
|
|
176
176
|
title: 'Add eslint run command',
|
|
177
177
|
task: () => __awaiter(this, void 0, void 0, function* () { return this.addESLintRunCommand(); }),
|
|
178
178
|
},
|
|
179
|
-
{
|
|
180
|
-
title: 'Add vscode settings',
|
|
181
|
-
task: () => __awaiter(this, void 0, void 0, function* () { return this.addVSCodeSettings(); }),
|
|
182
|
-
},
|
|
183
179
|
]);
|
|
184
180
|
}),
|
|
185
181
|
}];
|
|
@@ -274,6 +270,7 @@ class CreateExampleProject {
|
|
|
274
270
|
const tasks = new listr_1.default();
|
|
275
271
|
tasks.add([
|
|
276
272
|
...(yield this.copyTemplateProject()),
|
|
273
|
+
...(yield this.addVSCodeSettings()),
|
|
277
274
|
...(yield this.setupTestFrameWork()),
|
|
278
275
|
...(yield this.copyESLintConfigFiles()),
|
|
279
276
|
...(yield this.copyGitignore()),
|
|
@@ -170,10 +170,6 @@ export class CreateExampleProject {
|
|
|
170
170
|
title: 'Add eslint run command',
|
|
171
171
|
task: () => __awaiter(this, void 0, void 0, function* () { return this.addESLintRunCommand(); }),
|
|
172
172
|
},
|
|
173
|
-
{
|
|
174
|
-
title: 'Add vscode settings',
|
|
175
|
-
task: () => __awaiter(this, void 0, void 0, function* () { return this.addVSCodeSettings(); }),
|
|
176
|
-
},
|
|
177
173
|
]);
|
|
178
174
|
}),
|
|
179
175
|
}];
|
|
@@ -268,6 +264,7 @@ export class CreateExampleProject {
|
|
|
268
264
|
const tasks = new Listr();
|
|
269
265
|
tasks.add([
|
|
270
266
|
...(yield this.copyTemplateProject()),
|
|
267
|
+
...(yield this.addVSCodeSettings()),
|
|
271
268
|
...(yield this.setupTestFrameWork()),
|
|
272
269
|
...(yield this.copyESLintConfigFiles()),
|
|
273
270
|
...(yield this.copyGitignore()),
|
package/dist/example_projects_templates/typescript/askui_example/my-first-askui-test-suite.test.ts
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
import { aui } from './helpers/askui-helper';
|
|
2
2
|
|
|
3
|
-
describe('
|
|
4
|
-
it('should
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
// Uncomment for macOS and Linux
|
|
11
|
-
// Delete the lines above to not trigger annotate()
|
|
12
|
-
// await aui.annotateInteractively();
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
xit('should click on my element', async () => {
|
|
16
|
-
await aui
|
|
17
|
-
.click();
|
|
18
|
-
// <INSERT YOUR COPIED ELEMENT DESCRIPTION HERE AND UNCOMMENT THIS AND THE NEXT LINE>
|
|
19
|
-
// .exec();
|
|
3
|
+
describe('AskUI Demo: Basic Mouse Movement', () => {
|
|
4
|
+
it('should move mouse in a rectangle shape', async () => {
|
|
5
|
+
// The act() command instructs the agent to achieve a specified goal through autonomous actions
|
|
6
|
+
// The agent will analyze the screen and perform necessary actions to accomplish the goal
|
|
7
|
+
// This can include clicking, typing, scrolling, and other interface interactions
|
|
8
|
+
// In this case, it will move the mouse in a rectangular pattern on the screen
|
|
9
|
+
await aui.act('Move mouse in a rectangle');
|
|
20
10
|
});
|
|
21
11
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "askui",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "askui GmbH <info@askui.com> (http://www.askui.com/)",
|
|
6
6
|
"description": "Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on",
|