-
Notifications
You must be signed in to change notification settings - Fork 92
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
e2e-test: remove test/automation #5882
Conversation
E2E Tests 🚀 ? |
ec7611f
to
71f82c1
Compare
d1cf8ec
to
9c6a3bf
Compare
9c6a3bf
to
8042f4a
Compare
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.
LGTM... with a couple of comments...
- I'm on the fence about removing positron from POM, etc. I kind of like having the moniker to make clear this is not part of VSCode, but I get that it's not relevant any longer.
- Will the removal of
test\smoke
andtest\automation
cause any issues with upstream merge?
Thanks for the feedback! I totally get where you’re coming from about the “Positron” prefix - it can be helpful for clarity. However, I’d like to share why I think removing it from class and POM names might be beneficial overall:
As for the upstream merge, since our files have moved to a completely separate directory, they no longer overlap with the upstream structure. Because of this, there’s no risk of merge conflicts or accidental overwrites - we’re fully decoupled from the upstream code. Does that sound reasonable? Happy to hear your thoughts! |
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.
LGTM!
Not really sure we should have changed the license note on those files, but its probably fine.
I wasn't totally sure either... should I change it back? |
I think the policy has been to leave the existing license on any file inherited from Microsoft and put our license on new files. Moving a file is kind of a special case, but I'd lean towards leaving theirs on them. |
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.
LGTM!
To centralize all relevant e2e test code and enhance clarity, the e2e test structure has been reorganized:
positron
prefix from all of our POMs, as all Microsoft POMs have been removed so this is no longer needed.test/automation
totest/e2e/infra
.test/automation/src/positron
totest/e2e/pages
test/e2e/areas
totest/e2e/tests
test/e2e
nowThis is the new e2e dir structure:
FYI
Since the driver files have been moved into our own directory, I’ve removed all “Start/End Positron” comment snippets. There’s no need to worry about upstream merges anymore, as all of our code now resides within our own directory.
QA Notes
Ran Full Suite
Ran Tests against Release
In next PR, will update the README