Skip to content

Commit 68539bc

Browse files
committed
JCC feedback response -- modal test update (#763)
1 parent f6ff56d commit 68539bc

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

webroot/src/components/Modal/Modal.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('Modal component', async () => {
2424
component.closeModal = sinon.spy();
2525

2626
expect(component.title).to.equal('');
27-
expect(wrapper.find('.modal-mask').text()).to.equal('Info:');
27+
expect(wrapper.find('h1.modal-title').exists()).to.equal(false);
2828

2929
expect(component.closeOnBackgroundClick).to.equal(false);
3030
wrapper.find('.modal-mask').trigger('click');

webroot/src/components/UpdateHomeJurisdiction/UpdateHomeJurisdiction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class UpdateHomeJurisdiction extends mixins(MixinForm) {
248248

249249
focusTrapJurisdiction(event: KeyboardEvent): void {
250250
const firstTabIndex = document.getElementById('jurisdiction-cancel-btn');
251-
const lastTabIndex = document.getElementById('jurisdiction-submit-btn');
251+
const lastTabIndex = document.getElementById('confirm-home-jurisdiction');
252252

253253
if (event.key === 'Tab') {
254254
if (firstTabIndex && lastTabIndex) {

webroot/src/components/UpdateHomeJurisdiction/UpdateHomeJurisdiction.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
:onClick="closeConfirmJurisdictionModal"
6464
/>
6565
<InputSubmit
66-
id="jurisdiction-submit-btn"
6766
class="submit-btn"
6867
:formInput="formData.confirm"
6968
:label="$t('homeJurisdictionChange.modalConfirm')"

0 commit comments

Comments
 (0)