Skip to content
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

Create e2e test for workspace creation via devfile url (f?url= parameter ) #16219

Closed
ibuziuk opened this issue Mar 4, 2020 · 5 comments
Closed
Labels
area/qe kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.

Comments

@ibuziuk
Copy link
Member

ibuziuk commented Mar 4, 2020

Is your task related to a problem? Please describe.

Currently, there is no test coverage for workspace creation via the f?url= flow which is highly promoted.

Describe the solution you'd like

e2e test for workspace creation via f?url= e.g.:

Additional context

Will help to identify issues like #16218

@ibuziuk ibuziuk added kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system. team/che-qe area/qe labels Mar 4, 2020
@rhopp
Copy link
Contributor

rhopp commented Mar 4, 2020

I would be also interested what's the reason of #16218 and why this wasn't caught by some tests on the component level?
e2e tests are not a silver bullet for everything ;-)

@rhopp
Copy link
Contributor

rhopp commented Mar 4, 2020

To put it another way... Coverage by e2e tests should be last resort - for scenarios, which (for some reason) cannot be covered for example by unit tests.

@ibuziuk
Copy link
Member Author

ibuziuk commented Mar 4, 2020

@rhopp this looks like a subtle issue that might be Hosted Che specific. I suspected that it would be reproducible when product.json is overridden, but this might not be the case.
I doubt that this flow could be properly tested with unit tests only since multiple components are involved + fancy redirect logic. So, this flow deserves an e2e test IMO

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Mar 4, 2020

@ibuziuk, @rhopp: we have already had CreateFactoryFromDevfileUrl E2E java selenium test.
We are running it nightly and it have passed recently against minishift https://ci.centos.org/job/devtools-che-nightly-multiuser-stable-test/25/ So it is definitely Hosted Che specific.
We could think about running java selenium tests against Hosted Che on a regular basis.

@ibuziuk
Copy link
Member Author

ibuziuk commented Mar 9, 2020

@dmytro-ndp I guess we can close the issue in this case, just a suggestion that this test should be enabled for downstream (CRW and Hosted Che) cc: @Katka92

@ibuziuk ibuziuk closed this as completed Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qe kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants