File tree Expand file tree Collapse file tree 6 files changed +12
-17
lines changed
tests/unit/specs/components Expand file tree Collapse file tree 6 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 2020 </ul >
2121 </nav >
2222
23- <h2 >
23+ <h1 class = " title is-2 " >
2424 {{ $t('chooser.heading') }}
25- </h2 >
25+ </h1 >
2626 <p class =" stepper-instructions body-bigger" >
2727 {{ $t('chooser.instructions') }}
2828 </p >
Original file line number Diff line number Diff line change 166166 </div >
167167 <div class =" column" >
168168 <section class =" donate-section" >
169- <h5 >{{ $t('footer.donation.header') }} </h5 >
169+ <h2 class =" title is-5" >
170+ {{ $t('footer.donation.header') }}
171+ </h2 >
170172 <p >{{ $t('footer.donation.call') }}</p >
171173 <a
172174 class =" button small donate"
Original file line number Diff line number Diff line change 11<template >
22 <div class =" help-section" >
3- <h3 >
3+ <h2 class = " title is-3 " >
44 {{ $t('help.heading') }}
5- </h3 >
5+ </h2 >
66 <ul class =" help-links" >
77 <li
88 v-for =" (modal, idx) in modals"
Original file line number Diff line number Diff line change 55 @click =" activate"
66 @keyup.13 =" activate"
77 >
8- <h5 class =" step-header__title b-header" >
8+ <h2 class =" step-header__title b-header title is-5 " >
99 {{ $t(stepHeaderText) }}
10- </h5 >
10+ </h2 >
1111 <div
1212 v-if =" step.status === 'completed'"
1313 class =" step-header__caption"
@@ -92,6 +92,9 @@ export default {
9292 }
9393
9494}
95+ .step-header__title.b-header {
96+ letter-spacing : normal ;
97+ }
9598.step-header__title {
9699 margin-bottom : 0.25rem ;
97100}
Original file line number Diff line number Diff line change @@ -306,9 +306,6 @@ export default {
306306 background : #d8d8d8 ;
307307 color : #333333 ;
308308 }
309- .step-header__title.b-header {
310- letter-spacing : normal ;
311- }
312309 .slide-fade-enter-active {
313310 transition : translate .5s ease , opacity 0.3s ease-in ;
314311 }
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import Vocabulary from '@creativecommons/vue-vocabulary/vue-vocabulary.common'
66import VueScrollTo from 'vue-scrollto'
77import createStore from '@/store'
88import App from '@/App'
9- import Stepper from '@/components/Stepper'
109
1110describe ( 'App.vue' , ( ) => {
1211 let wrapper
@@ -50,10 +49,4 @@ describe('App.vue', () => {
5049 await wrapper . vm . $store . commit ( 'setSelected' , { name : 'BY' , selected : false } )
5150 expect ( rightColumn . find ( 'licensedetailscard-stub' ) . exists ( ) ) . toBe ( true )
5251 } )
53-
54- it ( 'Check that showLicenseUse returns true if currentStepId is equal to 7' , async ( ) => {
55- expect ( wrapper . find ( 'licenseusecard-stub' ) . exists ( ) ) . toBe ( false )
56- await wrapper . findComponent ( Stepper ) . vm . $emit ( 'input' , 7 )
57- expect ( wrapper . find ( 'licenseusecard-stub' ) . exists ( ) ) . toBe ( true )
58- } )
5952} )
You can’t perform that action at this time.
0 commit comments