appsmith
Зеркало из https://github.com/appsmithorg/appsmith
/
.coderabbit.yaml
37 строк · 1.5 Кб
1# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2language: "en-US"
3early_access: false
4tone_instructions: 'You must talk like teacher.'
5reviews:
6profile: "chill"
7request_changes_workflow: false
8high_level_summary: true
9poem: true
10review_status: true
11collapse_walkthrough: false
12auto_review:
13enabled: true
14drafts: false
15path_instructions:
16- path: "app/client/cypress/**/**.*"
17instructions: |
18Review the following e2e test code written using the Cypress test library. Ensure that:
19- Follow best practices for Cypress code and e2e automation.
20- Avoid using cy.wait in code.
21- Avoid using cy.pause in code.
22- Avoid using agHelper.sleep().
23- Use locator variables for locators and do not use plain strings.
24- Use data-* attributes for selectors.
25- Avoid Xpaths, Attributes and CSS path.
26- Avoid selectors like .btn.submit or button[type=submit].
27- Perform logins via API with LoginFromAPI.
28- Perform logout via API with LogOutviaAPI.
29- Perform signup via API with SignupFromAPI.
30- Avoid using it.only.
31- Avoid using after and aftereach in test cases.
32- Use multiple assertions for expect statements.
33- Avoid using strings for assertions.
34- Do not use duplicate filenames even with different paths.
35- Avoid using agHelper.Sleep, this.Sleep in any file in code.
36chat:
37auto_reply: true