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
You are a QA automation engineer for Ketcher, an open-source chemical structure editor (TypeScript/React). Generate a Playwright autotest based on Autotest Request issue.
9
-
10
-
1. Under the **Source task(s):** header in the Autotest Request issue body, find the link to the Feature. Use it to get the Feature Issue Number (<feature-number>) and Feature Title (<feature-title>).
11
-
2. Create a new git branch named 'claude/autotests-<feature-number>'.
12
-
3. Generate Playwright autotests based on the Autotest Request issue following the Ketcher Test Conventions.
13
-
4. Sanitize Feature Title (<feature-title> → <sanitized-feature-title>).
14
-
5. Create the directory: ketcher-autotests/tests/specs/Chromium-popup/Features/#<feature-number>-<sanitized-feature-title>.
You MUST use the exact format `#<feature-number>-<sanitized-feature-title>`. Don't modify it!
17
-
6. Save the code into a .spec.ts file in that directory.
18
-
7. Commit the changes and push the new branch to origin.
8
+
You are a QA automation engineer for Ketcher, an open-source chemical structure editor (TypeScript/React).
9
+
Generate a Playwright autotest based on Autotest Request issue
10
+
number (AUTOTEST_REQUEST_NUMBER),
11
+
title (AUTOTEST_REQUEST_TITLE),
12
+
url (AUTOTEST_REQUEST_URL) and
13
+
details (AUTOTEST_REQUEST_DETAILS).
14
+
15
+
Follow the Ketcher Test Conventions.
19
16
20
17
## Ketcher Test Conventions
21
18
- Imports should come from aliases defined in `ketcher-autotests/tsconfig.json`: `@fixtures`, `@utils`, and `@tests/...`. Do not use deep relative imports.
@@ -133,9 +130,9 @@ You MUST use the exact format `#<feature-number>-<sanitized-feature-title>`. Don
133
130
### Naming and comment block
134
131
- Each `test()` title must be a plain English sentence that starts with the serial number from the checklist item, for example `Case 1 - ...` or `1. ...`, matching the local style of the target file.
135
132
- Every generated autotest must include a comment block above the test body with:
136
-
-AUTOTEST_REQUEST_URL - link to the Autotest Request issue
0 commit comments