You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome to have some End-to-End tests.
Strangely, this isn't as easy as one might think, at least not with the current setup of this extension, which uses a popup to configure the active features.
I tried a couple of times in the past and always failed at some point.
Navigate to a local HTML file, which has a Turbo Frame inside it
Open the popup and active the "Highlight Frames" feature
Check if the Turbo Frame has an outline
The main difficulty is point three, opening the popup in the right context.
An alternative approach could be to not open the popup at all, and instead configure the activated features by mocking the Devtool.getOptions call.
The text was updated successfully, but these errors were encountered:
It would be awesome to have some End-to-End tests.
Strangely, this isn't as easy as one might think, at least not with the current setup of this extension, which uses a popup to configure the active features.
I tried a couple of times in the past and always failed at some point.
A simple test could look like:
The main difficulty is point three, opening the popup in the right context.
An alternative approach could be to not open the popup at all, and instead configure the activated features by mocking the
Devtool.getOptions
call.The text was updated successfully, but these errors were encountered: