wolfenrain / fluttium

Fluttium, the user flow testing tool for Flutter
https://fluttium.dev
MIT License
361 stars 10 forks source link

fix: runner encoding paths incorrectly on windows #396

Open harry774 opened 7 months ago

harry774 commented 7 months ago

Description

When passed target parameter for main_qa.dart file it does encode incorrectly

On fluttium_example123_launcher.dart file it shows import 'package:AppName/C:\Users\name\source\repo\.\main_qa.dart' as app

Expected Behavior

It should encode path of given target file correctly as

On fluttium_example123_launcher.dart file import 'package:AppName/lib/main_qa.dart' as app

Screenshots

fluttium

fluttium1

wolfenrain commented 6 months ago

Thanks for the issue! It seems to be regression of a previous problem I have seen on Windows. Will need to fix that in the codegen.