flutter / flutter/flutter-intellij
Jump to source of testWidgets is not working when group name of test is a variable
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
## Steps to Reproduce
1. Write a testWidget inside a group with a variable as name
2. Run test and Click on jump source
```
// 'Avatar Page'
void main() {
var currentFolder = "currentFolder";
group(currentFolder, () {
test('Foo', () {});
test('Bar', () {});
testWidgets('Widget test', (WidgetTester tester) async {
await preSetValidPhotoUrl(tester);
});
....
```
Jump to source does nothing for "Widget test" but works for "Foo" and "Bar"
## Version info
I am already using this build https://github.com/flutter/flutter-intellij/pull/5486 but I still have this problem when group name is not a static string. (57.0.1.dev)
Contributor guide
Assessment
This issue has not been assessed yet.