-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: starting of studio fixed when using example with new file #1651
Conversation
🦋 Changeset detectedLatest commit: de545b5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@neoandmatrix please add screenshots for the validation thanks |
My apologies forgot to add it beforehand. Here is the result after changes. Even without extension of file given studio opens it correctly. |
@neoandmatrix can you add some test cases as well ? |
Sure will do. |
@AayushSaini101 I tried to add test for above changes but the problem that i am facing is that the changes in this PR allow opening of studio which if i do through tests open the studio which opens fine but the tests don't continue further and get stuck. Any guidance on to where should i look for this or if doing something wrong, will be helpful. Thanks. |
@Souvikns @Shurtu-gal is it possible to test these changes somehow, we don't have any test cases for studio before also ? |
Only very specific things can be tested such as file being changed should send websocket events. So these things can be verified. Rest I don't believe can be tested. No error condition can be checked though. If we really need to test then would need to look at puppeteer or sth else. |
make sense, we add this as well in GSOC project |
|
Sure will do some research on how to achieve the same. Thanks for guidance. |
/rtm |
Description
This PR introduces the changes to fix the starting of studio when used with an example while creating a new file.
Approach:-
Upon debugging found that to start studio the extension had also to be passed with file name so that was added to be passed if not passed by default.
yaml
was passed as it was default extension used by cli when creation of files if no extension is specified.Related issue(s)
Resolves #1648