Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-14 00:07:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-14 00:07:31 +0300
commit3f0848998ef99206e80ead8c68a50b5889d2ae19 (patch)
tree22e35b606174c38e5ed3bdf3bad0a2dd27cede04 /spec/frontend/observability
parent5248c5e2212b8e42b28b23e6839d69db0006829b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/observability')
-rw-r--r--spec/frontend/observability/observability_app_spec.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/frontend/observability/observability_app_spec.js b/spec/frontend/observability/observability_app_spec.js
index 6ef4e399740..248b0a2057c 100644
--- a/spec/frontend/observability/observability_app_spec.js
+++ b/spec/frontend/observability/observability_app_spec.js
@@ -81,6 +81,16 @@ describe('Observability root app', () => {
});
});
+ describe('iframe sandbox', () => {
+ it('should render an iframe with sandbox attributes', () => {
+ mountComponent();
+ const iframe = findIframe();
+
+ expect(iframe.exists()).toBe(true);
+ expect(iframe.attributes('sandbox')).toBe('allow-same-origin allow-forms allow-scripts');
+ });
+ });
+
describe('on GOUI_ROUTE_UPDATE', () => {
it('should not call replace method from vue router if message event does not have url', () => {
mountComponent();