Commit Graph

3 Commits

Author SHA1 Message Date
Richard Cox 3349beba87 Ensure embedded ember pages in dashboard work with cypress / e2e
- Create helper functions to determine if running in embedded mode, and the target window for dashboard messages
  - Wasn't sure where to put this, hopefully choice the right location
- isEmbedded `window.top !== window` weirdly didn't work in cypress runner, so now we check if window.top has ember available (only scenario where isEmbedded is false)
- window used for messaging dashboard is now window.parent, window.top can be cypress runner
2023-06-06 17:11:57 +01:00
Neil MacDougall 7406e370d4 Show legacy banner for project secrets when embedded 2021-08-19 08:31:19 +01:00
n313893254 0a58aed31b Add security header
https://github.com/rancher/rancher/issues/21985
2019-08-06 15:36:01 +08:00