-
Notifications
You must be signed in to change notification settings - Fork 13
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
FUSETOOLS2-2113 - Allows selection of folder when creating projects #1952
base: main
Are you sure you want to change the base?
Conversation
hdamarcelo
commented
Oct 5, 2024
•
edited
Loading
edited
- Removes "enablement" for the project creation commands because we will be always choosing a folder work with.
- Project creation commands do not depend on the workspace root anymore and can be used without one.
- Refactor existing tests to use the additional folder selection dialog.
- Opens a new VSCode instance in the newly created project's folder.
7f7f637
to
6b37f60
Compare
@@ -37,7 +37,7 @@ import { | |||
} from '../utils/testUtils'; | |||
import * as pjson from '../../../package.json'; | |||
|
|||
describe('Create a Camel Project using command', function () { | |||
describe.only('Create a Camel Project using command', function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment to not forget to remove the .only when PR is ready
'export', | ||
`--runtime=${runtime}`, | ||
`--gav=${gav}`, | ||
`'--directory=${outputPath}'`]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to double-check the behavior when there is something in the target folder and/or when using the current folder with various version of JBang because there were some issues in the past using this parameter fr another jbang command https://issues.apache.org/jira/browse/CAMEL-21082
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ba4ee49
to
8c858e6
Compare
8c858e6
to
9a280cb
Compare
while (await input.isDisplayed()) { | ||
await input.confirm(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why confirming potentially several times?
await driver.wait(async function () { | ||
input = await InputBox.create(); | ||
return input; | ||
}, 30000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about using
input = await InputBox.create(30000);
could you also please share the gif with Modal asking for |
- Removes "enablement" for the project creation commands because we will be always choosing a folder work with. - Project creation commands do not depend on the workspace root anymore and can be used without one. - Refactor existing tests to use the additional folder selection dialog. - Adds a modal to confirm the project creation since the 'camel export' command can clean the selected output folder. - Opens a new VSCode instance in the newly created project's folder. Signed-off-by: Marcelo Henrique Diniz de Araujo <[email protected]>
9a280cb
to
39d332c
Compare
Quality Gate passedIssues Measures |