eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
5 stars 35 forks source link

[E2E Test 24.08] Service Release Process - Step "Technical Integration" not visible/disappears #964

Closed ds-hzimmer closed 4 months ago

ds-hzimmer commented 4 months ago

Current Behavior

For the "App Release Process", accessing a step "Technical Integration" is possible and successful.

For the "Service Release Process", a step "Technical Integration" also exists in the menu overview (with "Lorem Ipsum" boilerplate text).

Service Management - Service Release Process Steps - 2

When beginning to enter the necessary information for a new Service, this step is also shown initially when on step 1 "Offer Card" in the breadcrumb navigation as a step 4 "technical Integration" (minor typo with capitalization) Service Release Process - Technical Integration 1 - initially visible

But when adding the information in the "Offer Card" and clicking "Save & Submit", this step disappears and then is no longer shown in the breadcrumb navigation menu. After step 3 "Contract & Consent" the next shown step in navigation menu is now "Verify & Submit".

Service Release Process - Technical Integration 2 - no longer visible

Thus it is not possible to reach a menu to enter details on "Technical Integration" in the Service Release Process.

Expected Behavior

According to E2E test case TEST-1260 / CXTM-29 Service Release: Technical Integration such a step should exist: Portal Service Release Process: Step Contract Consent is finished and next Step Technical Integration can be selected and filled out.

Thus this may be either a bug in the navigation menu if a step to submit information on "Technical Integration" is required. Or such a "Technical Integration" step is not relevant for a Service offering, and all remnants of this should be removed from the menus + navigation?

Steps To Reproduce

Tested in deployed version for release 24.08 (2.1.0-RC2)

As described above in current behavior.

oyo commented 4 months ago

@evegufy @ds-hzimmer in the code the number of steps is variable. The fourth step is only shown if the service type ID DATASPACE_SERVICE is present. So I guess it wasn't in the testing scenario.

https://github.com/eclipse-tractusx/portal-frontend/blob/release/v2.1.0-RC3/src/components/pages/ServiceReleaseProcess/components/index.tsx#L96-L100

ds-hzimmer commented 4 months ago

According to analysis above, the test/test step "Technical Integration" only applies for an offering of service type "DATASPACE_SERVICE" and not of service type "CONSULTANCY_SERVICE" selected in the first step "Offer Card". Depending on the chosen service type, the test step is relevant/is shown in the navigation menu or not.

Thus test changed to pass, after successful retest with type "DATASPACE_SERVICE". Service Release - Technical Integration

For next release, test description to be adapted to apply to this service type, respectively split in two tests in order to test both types.

Potentially description/graphic (included in description above as first image) in menu Service Release could be adapted to reflect this difference between the two service types in the future.

I am closing the issue.