diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-11 03:09:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-11 03:09:17 +0300 |
commit | aa0e3dcce3143ef4c3d8a481a216bf28ae31a3e3 (patch) | |
tree | 8a39ef76ddc367e7747e76621ee3ee072b0ea066 /spec/frontend/performance_bar/index_spec.js | |
parent | 6ae4485274362bf656fae249a1409266a211d255 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/performance_bar/index_spec.js')
-rw-r--r-- | spec/frontend/performance_bar/index_spec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/frontend/performance_bar/index_spec.js b/spec/frontend/performance_bar/index_spec.js index 2da176dbfe4..008961bf709 100644 --- a/spec/frontend/performance_bar/index_spec.js +++ b/spec/frontend/performance_bar/index_spec.js @@ -17,11 +17,11 @@ describe('performance bar wrapper', () => { performance.getEntriesByType = jest.fn().mockReturnValue([]); peekWrapper.setAttribute('id', 'js-peek'); - peekWrapper.dataset.env = 'development'; - peekWrapper.dataset.requestId = '123'; - peekWrapper.dataset.peekUrl = '/-/peek/results'; - peekWrapper.dataset.statsUrl = 'https://log.gprd.gitlab.net/app/dashboards#/view/'; - peekWrapper.dataset.profileUrl = '?lineprofiler=true'; + peekWrapper.setAttribute('data-env', 'development'); + peekWrapper.setAttribute('data-request-id', '123'); + peekWrapper.setAttribute('data-peek-url', '/-/peek/results'); + peekWrapper.setAttribute('data-stats-url', 'https://log.gprd.gitlab.net/app/dashboards#/view/'); + peekWrapper.setAttribute('data-profile-url', '?lineprofiler=true'); mock = new MockAdapter(axios); |