Skip to content

Conversation

@mattjennings
Copy link

Not sure when the title changed in vitest, but this will make it work with at least vitest 3.1.2.

Are there any plans to release v0.19 soon?

@edoardocavazza
Copy link
Member

Hello @mattjennings, thanks for your contribution! Maybe we should handle both cases for backward compatibility? Can you please update the PR using array's includes to check a list of possible titles?

@mattjennings
Copy link
Author

Sure I can do that, or we can check for "vitest" existing at all in the title (case-insensitively)?

@edoardocavazza
Copy link
Member

Can I ask what happens to your tests with the current implementation?

As long as I can see here, page title is still "Vitest Browser Runner", while "Vitest" is used for the UI page. I am not sure what we are fixing here 😄

@mattjennings
Copy link
Author

mattjennings commented Jun 3, 2025

Oh, yes, this is because I was running the UI page. I didn't realize they were different titles :|. The UI page did work though after this change, maybe an array of either title is the way to go then.

@edoardocavazza
Copy link
Member

I agree, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants