diff --git a/apps/web/src/app/app.spec.ts b/apps/web/src/app/app.spec.ts index 8ce44a2..a8fcf22 100644 --- a/apps/web/src/app/app.spec.ts +++ b/apps/web/src/app/app.spec.ts @@ -35,7 +35,7 @@ describe('App', () => { }).compileComponents(); }); - it('renders the reusable game shell with Karte and Jagd available', async () => { + it('renders the reusable game shell with Map and Hunt available', async () => { const fixture = TestBed.createComponent(AppShellComponent); const router = TestBed.inject(Router); await router.navigateByUrl('/world'); @@ -52,20 +52,20 @@ describe('App', () => { expect(mapButton).not.toBeNull(); expect(mapButton?.disabled).toBe(false); expect(mapButton?.getAttribute('aria-current')).toBe('page'); - expect(mapButton?.getAttribute('aria-label')).toBe('Karte'); + expect(mapButton?.getAttribute('aria-label')).toBe('Map'); const huntButton = element.querySelector('[data-navigation="hunt"]'); expect(huntButton).not.toBeNull(); expect(huntButton?.disabled).toBe(false); expect(huntButton?.getAttribute('aria-current')).toBeNull(); - expect(huntButton?.getAttribute('aria-label')).toBe('Jagd'); + expect(huntButton?.getAttribute('aria-label')).toBe('Hunt'); const inventoryButton = element.querySelector( '[data-navigation="inventory"]', ); expect(inventoryButton).not.toBeNull(); expect(inventoryButton?.disabled).toBe(false); - expect(inventoryButton?.getAttribute('aria-label')).toBe('Inventar'); + expect(inventoryButton?.getAttribute('aria-label')).toBe('Inventory'); for (const destination of ['quests', 'character']) { expect( @@ -76,7 +76,7 @@ describe('App', () => { expect(element.textContent).not.toContain('Shop'); }); - it('offers Ort as the first navigation entry, marked active on /location', async () => { + it('offers Location as the first navigation entry, marked active on /location', async () => { const fixture = TestBed.createComponent(AppShellComponent); const router = TestBed.inject(Router); await router.navigateByUrl('/location'); @@ -98,7 +98,7 @@ describe('App', () => { '[data-navigation="location"]', ); expect(locationButton?.disabled).toBe(false); - expect(locationButton?.getAttribute('aria-label')).toBe('Ort'); + expect(locationButton?.getAttribute('aria-label')).toBe('Location'); expect(locationButton?.getAttribute('aria-current')).toBe('page'); expect( element.querySelector('[data-navigation="world"]')?.getAttribute('aria-current'), @@ -135,7 +135,7 @@ describe('App', () => { expect(fixture.nativeElement.querySelector('app-context-panel')).not.toBeNull(); }); - it('marks Jagd as the active navigation entry while on /hunt', async () => { + it('marks Hunt as the active navigation entry while on /hunt', async () => { const fixture = TestBed.createComponent(AppShellComponent); const router = TestBed.inject(Router); await router.navigateByUrl('/hunt'); @@ -183,7 +183,9 @@ describe('App', () => { expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain( 'Mara Ashfall', ); - expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('Ansehen 7'); + expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain( + 'World Renown 7', + ); expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('52 / 80'); expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('150'); }); diff --git a/apps/web/src/app/layout/context-panel/context-panel.component.html b/apps/web/src/app/layout/context-panel/context-panel.component.html index bda78f6..4e36d98 100644 --- a/apps/web/src/app/layout/context-panel/context-panel.component.html +++ b/apps/web/src/app/layout/context-panel/context-panel.component.html @@ -1,44 +1,44 @@ -