refactor(maps): share localized OpenStreetMap component
This commit is contained in:
6 files changed
+67
-110
No files matched your search
@@ -1089,10 +1089,10 @@ test('Phase 9 off-mode form surfaces localize Spanish without enabling submissio
|
||||
assert.match(form.text(), route.startsWith('/es/') ? /El envío en línea aún no está habilitado/ : /Online submission is not yet connected/);
|
||||
}
|
||||
const $ = load(artifacts.get('staging').html.get('/es/contact'));
|
||||
assert.match($('.contact-map-section').attr('aria-label'), /^Mapa/);
|
||||
assert.equal($('#aia-contact-map').attr('data-zoom-in'), 'Acercar');
|
||||
assert.equal($('#aia-contact-map').attr('data-zoom-out'), 'Alejar');
|
||||
assert.match($('#aia-contact-map').attr('data-tile-alt'), /^Mapa de OpenStreetMap/);
|
||||
assert.match($('.openstreetmap-section').attr('aria-label'), /^Mapa/);
|
||||
assert.equal($('#aia-openstreetmap').attr('data-zoom-in'), 'Acercar');
|
||||
assert.equal($('#aia-openstreetmap').attr('data-zoom-out'), 'Alejar');
|
||||
assert.match($('#aia-openstreetmap').attr('data-tile-alt'), /^Mapa de OpenStreetMap/);
|
||||
});
|
||||
|
||||
test('Phase 7 author labels and Arabic credential isolation preserve archive SEO', () => {
|
||||
|
||||
Reference in new issue
Block a user