mbolotov / intellij-playwright

1 stars 0 forks source link

[Bug] Project base from Playwright configuration template is not using #16

Closed alexandrchumakin closed 1 year ago

alexandrchumakin commented 1 year ago

I need to set custom "Project base" that is different from project root (as we have monorepo with multiple apps). But every time when I start a new test via this plugin, it doesn't use a "Project base" from configuration template and I need to stop a test, open Run/Debug configuration and change it for every new test execution.

alexandrchumakin commented 1 year ago

Environment: Windows 10, WebStorm 2022.2.3

mbolotov commented 1 year ago

Alexander, you can try this bundle with the fix: Maestro-1.2-EAP2.zip

Also, could you please check if you can reproduce the problem described in #14?

alexandrchumakin commented 1 year ago

Hi @mbolotov, thanks for quick reply. I've just verified my problem with this version and can still reproduce it. I cleaned up all the existing run/debug configurations, changed Project base in Playwright template: image then started a new test from WebStorm context menu: image But test didn't work as Project base was pointing to project root folder, not one from pre-configured template: image

So, I still need to stop this test, change Project base manually in this Run configuration and only then I can run it with this plugin.

btw: I cannot reproduce the issue #14 with this version.

mbolotov commented 1 year ago

this is strange that the project base is not set from the template. it's working nice at my side.

could you try this bundle: Maestro-1.2.1-EAP3.zip I've added some additional logging. Please collect them and send me. You might want to mask the sensitive data within the logs.

alexandrchumakin commented 1 year ago

Thanks for this patch, I don't know whether you just added logs, but this version works for me just fine! I can't reproduce the issue anymore.