-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Test] Update 'Factory' E2E test #23336
Conversation
* select creation of a new workspace, if a duplicate workspace is created from the factory or sample list. | ||
* this option is false by default. | ||
*/ | ||
SELECT_OF_CREATION_NEW_WORKSPACE: process.env.SELECT_OF_CREATION_NEW_WORKSPACE === 'true', |
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.
IMHO SELECT_CREATING_NEW_WORKSPACE
name should be more relevant in this case
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.
Also, default value = true is probably conflicting with another constant value SELECT_OPENING_EXISTING_WORKSPACE_INSTEAD_OF_CREATION_NEW=== true
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.
Fixed.
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.
Both constants SELECT_CREATING_NEW_WORKSPACE
and SELECT_OPENING_EXISTING_WORKSPACE_INSTEAD_OF_CREATION_NEW
have default value false
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.
looks good to merge, with a few cosmetic remarks
What does this PR do?
Factory
E2E test to do checking test-cases of factory with gitlab server private/public repo when OAuth token is refreshed.SELECT_OF_CREATION_NEW_WORKSPACE
totests/e2e/constants/BASE_TEST_CONSTANTS.ts
Screenshot/screencast of this PR
What issues does this PR fix or reference?
How to test this PR?
Run the
Factory.spec.ts
as usualPR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.