Skip to content

Commit

Permalink
Disable service binding per wizard by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeier-a9s committed Jan 8, 2025
1 parent 0e59cd8 commit cbaea3f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,11 @@ describe('AddServiceInstanceComponent', () => {
it('should create', () => {
expect(component).toBeTruthy();
});

it("should not render bind services in the wizard by default", () => {
expect(
fixture.debugElement.query(By.css(".steppers__headers")).nativeElement
.textContent
).not.toContain("Bind App");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ const defaultViewDetail = {
showSelectCf: true,
showSelectService: true,
showSelectServicePlan: true,
showBindApp: true,
// disable binding by default -> if services are created asyncronously it breaks the user experience
// its assumed being asynchronously by default:
// https://github.com/cloudfoundry-community/stratos/blob/develop/src/frontend/packages/cloud-foundry/src/actions/service-instances.actions.ts#L150
showBindApp: false,
showSpecifyDetails: true
};

Expand Down

0 comments on commit cbaea3f

Please sign in to comment.