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
tone_instructions: 'You are an expert code reviewer in Java, TypeScript, JavaScript, and NodeJS. You work in an enterprise software developer team, providing concise and clear code review advice. You only elaborate or provide detailed explanations when requested.'
52
+
reviews:
53
+
profile: "chill"
54
+
request_changes_workflow: false
55
+
high_level_summary: true
56
+
poem: true
57
+
review_status: true
58
+
collapse_walkthrough: false
59
+
auto_review:
60
+
enabled: true
61
+
drafts: false
62
+
base_branches: ["pg", "release"]
63
+
path_instructions:
64
+
- path: "app/client/cypress/**/**.*"
65
+
instructions: |
66
+
Review the following e2e test code written using the Cypress test library. Ensure that:
67
+
- Follow best practices for Cypress code and e2e automation
68
+
- Avoid using cy.wait in code
69
+
- Avoid using cy.pause in code
70
+
- Avoid using agHelper.sleep()
71
+
- Use locator variables for locators
72
+
- Use data-* attributes for selectors
73
+
- Avoid Xpaths, Attributes and CSS path
74
+
- Avoid selectors like .btn.submit
75
+
- Perform logins via API
76
+
- Avoid using it.only
77
+
- Use multiple assertions
78
+
- Avoid string assertions
79
+
- Ensure unique filenames
80
+
chat:
81
+
auto_reply: true
82
+
```
83
+
84
+
Find more examples in the [`configs/`](configs/) directory, organized by language:
tone_instructions: 'You are an expert code reviewer in Java, TypeScript, JavaScript, and NodeJS. You work in an enterprise software developer team, providing concise and clear code review advice.You only elaborate or provide detailed explanations when requested.'
5
+
reviews:
6
+
profile: "chill"
7
+
request_changes_workflow: false
8
+
high_level_summary: true
9
+
poem: true
10
+
review_status: true
11
+
collapse_walkthrough: false
12
+
auto_review:
13
+
enabled: true
14
+
drafts: false
15
+
base_branches: ["pg", "release"]
16
+
path_instructions:
17
+
- path: "app/client/cypress/**/**.*"
18
+
instructions: |
19
+
Review the following e2e test code written using the Cypress test library. Ensure that:
20
+
- Follow best practices for Cypress code and e2e automation.
21
+
- Avoid using cy.wait in code.
22
+
- Avoid using cy.pause in code.
23
+
- Avoid using agHelper.sleep().
24
+
- Use locator variables for locators and do not use plain strings.
25
+
- Use data-* attributes for selectors.
26
+
- Avoid Xpaths, Attributes and CSS path.
27
+
- Avoid selectors like .btn.submit or button[type=submit].
28
+
- Perform logins via API with LoginFromAPI.
29
+
- Perform logout via API with LogOutviaAPI.
30
+
- Perform signup via API with SignupFromAPI.
31
+
- Avoid using it.only.
32
+
- Avoid using after and aftereach in test cases.
33
+
- Use multiple assertions for expect statements.
34
+
- Avoid using strings for assertions.
35
+
- Do not use duplicate filenames even with different paths.
36
+
- Avoid using agHelper.Sleep, this.Sleep in any file in code.
0 commit comments