You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detailed Description
Reset user preferences while starting or override them with an interceptor while running E2E.
Context
Since E2E tests necessarily MUST be deterministic to avoid flake cases, plus we are not mixing tests with this feature, reset properties. This will provide a seamless scenario regardless of the machine and Rancher instance.
Request: /v1/userpreferences
Payload sample (only data for simplification):
"data": {
"after-login-route": "\"home\"",
"cluster": "local",
"group-by": "none",
"home-page-cards": "{\"welcomeBanner\":true,\"migrationTip\":true,\"setLoginPage\":true,\"communitySupportTip\":true,\"commercialSupportTip\":true}",
"last-namespace": "default",
"last-visited": "{\"name\":\"c-cluster-product\",\"params\":{\"cluster\":\"local\",\"product\":\"manager\"}}",
"ns-by-cluster": "{\"local\":[]}",
"provisioner": "rke2", // This leads to an issue while running cluster creation tests"read-whatsnew": "\"\"",
"seen-whatsnew": "\"v2.6-4a5a926fe1fc319847a78fe814e3f2be18bb2c2b-head\"",
"theme": "\"ui-auto\""
}
The text was updated successfully, but these errors were encountered:
Detailed Description
Reset user preferences while starting or override them with an interceptor while running E2E.
Context
Since E2E tests necessarily MUST be deterministic to avoid flake cases, plus we are not mixing tests with this feature, reset properties. This will provide a seamless scenario regardless of the machine and Rancher instance.
Request:
/v1/userpreferences
Payload sample (only data for simplification):
The text was updated successfully, but these errors were encountered: