From af55b429503a8596acb75dbb13d98f191cb3aa7d Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Fri, 14 Jun 2019 10:03:53 +0100 Subject: Update class names --- spec/javascripts/jobs/components/job_log_spec.js | 4 ++-- spec/javascripts/jobs/mock_data.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/javascripts') diff --git a/spec/javascripts/jobs/components/job_log_spec.js b/spec/javascripts/jobs/components/job_log_spec.js index 4e94ae710c0..7e2ec2ec3f7 100644 --- a/spec/javascripts/jobs/components/job_log_spec.js +++ b/spec/javascripts/jobs/components/job_log_spec.js @@ -85,13 +85,13 @@ describe('Job Log', () => { const { section } = vm.$el.querySelector('.js-section-start').dataset; vm.$el.querySelector('.js-section-start').click(); - vm.$el.querySelectorAll(`.js-s_${section}:not(.js-section-header)`).forEach(el => { + vm.$el.querySelectorAll(`.js-s-${section}:not(.js-section-header)`).forEach(el => { expect(el.classList.contains('hidden')).toEqual(true); }); vm.$el.querySelector('.js-section-start').click(); - vm.$el.querySelectorAll(`.js-s_${section}:not(.js-section-header)`).forEach(el => { + vm.$el.querySelectorAll(`.js-s-${section}:not(.js-section-header)`).forEach(el => { expect(el.classList.contains('hidden')).toEqual(false); }); }) diff --git a/spec/javascripts/jobs/mock_data.js b/spec/javascripts/jobs/mock_data.js index 0a6d6006adf..5d25d6b4ca2 100644 --- a/spec/javascripts/jobs/mock_data.js +++ b/spec/javascripts/jobs/mock_data.js @@ -1195,7 +1195,7 @@ export const logWithCollapsibleSections = { append: false, complete: true, html: - '
Running after script...
$ date
Mon Jun 3 14:16:46 UTC 2019
Not uploading cache debian-stretch-ruby-2.6.3-node-10.x-3 due to policy
Uploading artifacts...
coverage/: found 5 matching files
knapsack/: found 4 matching files
rspec_flaky/: found 4 matching files
rspec_profiling/: found 1 matching files
WARNING: tmp/capybara/: no matching files
Uploading artifacts to coordinator... ok id=224162288 responseStatus=201 Created token=bBmyXJNW
Uploading artifacts...
junit_rspec.xml: found 1 matching files
Uploading artifacts to coordinator... ok id=224162288 responseStatus=201 Created token=bBmyXJNW
Job succeeded
', + '
Running after script...
$ date
Mon Jun 3 14:16:46 UTC 2019
Not uploading cache debian-stretch-ruby-2.6.3-node-10.x-3 due to policy
Uploading artifacts...
coverage/: found 5 matching files
knapsack/: found 4 matching files
rspec_flaky/: found 4 matching files
rspec_profiling/: found 1 matching files
WARNING: tmp/capybara/: no matching files
Uploading artifacts to coordinator... ok id=224162288 responseStatus=201 Created token=bBmyXJNW
Uploading artifacts...
junit_rspec.xml: found 1 matching files
Uploading artifacts to coordinator... ok id=224162288 responseStatus=201 Created token=bBmyXJNW
Job succeeded
', id: 1385, offset: 0, size: 78815, -- cgit v1.2.1