Scopes: Change redirectUrl to redirectPath (#112783)
* Scopes: change redirectUrl to redirectPath * Update e2e helpers
This commit is contained in:
@@ -19,7 +19,7 @@ export type TestScope = {
|
||||
type?: string;
|
||||
category?: string;
|
||||
addLinks?: boolean;
|
||||
redirectUrl?: string;
|
||||
redirectPath?: string;
|
||||
};
|
||||
|
||||
type ScopeDashboardBinding = Resource<ScopeDashboardBindingSpec, ScopeDashboardBindingStatus, 'ScopeDashboardBinding'>;
|
||||
@@ -56,8 +56,8 @@ export async function scopeNodeChildrenRequest(
|
||||
linkType: 'scope',
|
||||
linkId: `scope-${scope.name}`,
|
||||
}),
|
||||
...(scope.redirectUrl && {
|
||||
redirectUrl: scope.redirectUrl,
|
||||
...(scope.redirectPath && {
|
||||
redirectPath: scope.redirectPath,
|
||||
}),
|
||||
},
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user