Commit graph

43 commits

Author SHA1 Message Date
lin onetwo
31e24de58e test: fix 2025-08-25 22:07:26 +08:00
lin onetwo
a93980dd84 test: remove log and clean up test deps 2025-08-25 20:26:39 +08:00
lin onetwo
225de8820b test: wiki operation 2025-08-25 01:54:17 +08:00
lin onetwo
cf6d96f1bd test: Add quick access to create default agent tab
Introduces a 'Create Default Agent' quick access button in the Agent New Tab page, with localization support. Adds utility to close all tabs and create a default agent tab for fallback scenarios, improves test selectors for tab and close actions, and refactors agent chat tab creation logic for consistency and testability.
2025-08-21 23:25:20 +08:00
lin onetwo
2a35a40d41 test: e2e mock openai 2025-08-19 23:49:01 +08:00
lin onetwo
560361acda test: use full agentinstance in test 2025-08-18 22:52:52 +08:00
lin onetwo
5f990700ce rename 2025-08-17 23:58:44 +08:00
lin onetwo
d645c2761e test: mock streamable openai api 2025-08-17 23:57:52 +08:00
lin onetwo
756592b74a test: click agent workspace button, and refactor mock server 2025-08-17 17:28:51 +08:00
lin onetwo
3622fb9606 Update application.ts 2025-08-17 16:33:56 +08:00
lin onetwo
7b3024bea5 test: fix wront page type by ai written garbage code 2025-08-17 16:21:19 +08:00
lin onetwo
7014d6d322 test: Add data-testid attributes for test automation
Added data-testid attributes to form inputs and buttons in ExternalAPI components to improve test automation reliability. Updated feature files and step definitions to use these selectors, refined window switching logic, and improved timing for UI interactions. Also exposed isElectronDevelopment and added isMainWindowPage utility for window identification.
2025-08-17 15:42:34 +08:00
lin onetwo
d92997e34b test: simplify steps 2025-08-17 01:51:24 +08:00
lin onetwo
6a7d0e872c test: Add mock OpenAI server and tests
Introduces a MockOpenAIServer for simulating OpenAI chat completions, including tool call and tool result responses. Adds corresponding tests and updates vitest config to include tests in the features directory.
2025-08-16 19:11:53 +08:00
lin onetwo
6cb24a9e4f Update application.ts 2025-08-16 17:43:42 +08:00
lin onetwo
b935deb26f test: Add agent workflow feature and step definitions
Introduces a new Cucumber feature for agent workflow, including multi-round conversation and tool usage. Adds agent-specific step definitions for message input and chat history validation. Refactors application step definitions for improved selector handling and element interaction. Updates test scripts in package.json to include a preparation step for e2e tests.
2025-08-16 17:23:12 +08:00
lin onetwo
4db45cfef3 fix: ci 2025-06-13 01:25:58 +08:00
lin onetwo
bc32d6fecb fix: ci crash due to no dugite binary, due to NODE_ENV=test not set 2025-06-13 00:35:35 +08:00
lin onetwo
150f620153 fix: use macos and take screenshot in ci 2025-06-12 23:48:47 +08:00
lin onetwo
5b2245ea08 refactor: remove unused 2025-06-12 23:12:00 +08:00
lin onetwo
ed5c72455c fix: ci 2025-06-12 22:50:45 +08:00
lin onetwo
f3fb021647 fix: test failed on ci 2025-06-12 16:58:44 +08:00
lin onetwo
b41f6ddb1c test: e2e 2025-06-12 16:00:10 +08:00
lin onetwo
830e11aa77 lint: dprint 2023-05-19 11:22:38 +08:00
tiddlygit-test
5e047ff10a Update world.ts 2022-12-18 23:15:28 +08:00
tiddlygit-test
6780be62ae fix: pnpm error 2022-12-18 20:46:08 +08:00
林一二
32f8d1d025 lint: auto remove unused var 2022-02-20 19:11:20 +08:00
林一二
3cc2289937 refactor: rename tiddlygit to tidgi in code 2021-12-18 13:16:26 +08:00
tiddlygit-test
47cb058381 fix: cant require electron.app in preload script 2021-07-05 00:25:44 +08:00
林一二
de3b538112 Update openClose.feature 2021-06-25 20:59:55 +08:00
tiddlygit-test
1f34fba261 fix: test runner 2021-06-18 01:41:21 +08:00
林一二
668c24d667 chore: remove robotjs nut-js , because it slow down the process and is not used 2021-06-02 20:47:12 +08:00
tiddlygit-test
59cedd637f fix: ENOENT: no such file or directory, stat '/Users/linonetwo/Desktop/repo/TiddlyGit-Desktop/out/tiddly-git-darwin-x64/tiddly-git.app/Contents/MacOS/tiddly-git' 2021-05-04 20:34:16 +08:00
tiddlygit-test
c9a34b8a8f refactor: merge context paths 2021-05-04 20:01:53 +08:00
tiddlygit-test
48904d3b5c refactor: move import electron related paths to other file 2021-05-04 13:09:17 +08:00
tiddlygit-test
d3dfb7ef78 fix: execution too fast causes 'socket hang up' 2021-04-23 00:54:15 +08:00
tiddlygit-test
e43e4a7f16 test: add Opening Preferences Notifications 2021-04-23 00:50:53 +08:00
tiddlygit-test
268e02cff6 feat: test second window open 2021-04-20 01:29:07 +08:00
tiddlygit-test
604942379f feat: try test second window 2021-04-19 02:05:28 +08:00
tiddlygit-test
3cf630d39f Update constants.ts 2021-04-19 01:46:07 +08:00
tiddlygit-test
7216a9b3e6 feat: cleanup temp folder between tests 2021-04-19 01:45:46 +08:00
tiddlygit-test
e96d3875bf chore: rename 2021-04-19 01:08:09 +08:00
tiddlygit-test
7641376b89 chore: setup cucumber BBD environment 2021-04-18 21:47:05 +08:00