-
Notifications
You must be signed in to change notification settings - Fork 511
test(browser): refactor browser tests for reliability and maintainability #8510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1ec55fd
a014e8a
2717f8d
9987179
ca7ed8c
e4b520c
5ddce40
efbb3b0
2c7dad3
681709f
b01426b
b7986ae
4a155dd
bbe9267
31c643d
e193924
062c4d3
10eddeb
aea5afa
4ffbcc7
ea1d284
2622b16
22ff808
7f2454e
dd2c25c
98c90d1
5b6d1f5
c87b863
ccf4596
2e58c77
be427c3
7c0326e
218fe31
be7f5b3
4e00e84
20fdf46
864fdfe
959e91b
8ccc8b9
818d0ef
03d5483
9cbba23
fdbbdda
6cd105f
b56045c
302e9d5
d605b5d
c411bfc
4b95f22
f96a700
16fec4d
e1bc1c4
5bd37be
ed63f4b
e5acd8c
302f5d3
8311b50
6f75a18
ba80cbd
89bb1ae
1427da3
785199f
5457c41
a83c11e
bbfc1e9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,6 +110,17 @@ | |
| "rules": { | ||
| "no-console": "allow" | ||
| } | ||
| }, | ||
| { | ||
| "files": ["browser_tests/**/*.ts"], | ||
| "rules": { | ||
| "typescript/no-explicit-any": "error", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [quality] high Priority Issue: Stricter lint rules enabled for browser_tests may conflict with existing code patterns |
||
| "no-async-promise-executor": "error", | ||
| "no-control-regex": "error", | ||
| "no-useless-rename": "error", | ||
| "no-unused-private-class-members": "error", | ||
| "unicorn/no-empty-file": "error" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,9 @@ See `@docs/guidance/playwright.md` for Playwright best practices (auto-loaded fo | |
|
|
||
| - `assets/` - Test data (JSON workflows, fixtures) | ||
| - Tests use premade JSON workflows to load desired graph state | ||
|
|
||
| ## After Making Changes | ||
|
|
||
| - Run `pnpm typecheck:browser` after modifying TypeScript files in this directory | ||
| - Run `pnpm exec eslint browser_tests/path/to/file.ts` to lint specific files | ||
| - Run `pnpm exec oxlint browser_tests/path/to/file.ts` to check with oxlint | ||
|
Comment on lines
+13
to
+14
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need two separate commands?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was being lazy and didn't want to add a |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows