[ACS-8502] missing alignment for menu and search button (#10051)

This commit is contained in:
dominikiwanekhyland
2024-08-08 07:45:12 +02:00
committed by GitHub
parent d38e782fe3
commit 9a7ffe5e53
5 changed files with 88 additions and 102 deletions

View File

@@ -415,13 +415,13 @@ describe('SearchControlComponent', () => {
it('should have positive transform translation', () => {
userPreferencesService.setWithoutStore('textOrientation', 'ltr');
fixture.detectChanges();
expect(component.searchTextInput.subscriptAnimationState.params.transform).toBe('translateX(95%)');
expect(component.searchTextInput.subscriptAnimationState.params.transform).toBe('translateX(85%)');
});
it('should have negative transform translation ', () => {
userPreferencesService.setWithoutStore('textOrientation', 'rtl');
fixture.detectChanges();
expect(component.searchTextInput.subscriptAnimationState.params.transform).toBe('translateX(-95%)');
expect(component.searchTextInput.subscriptAnimationState.params.transform).toBe('translateX(-85%)');
});
});
});