Device manager - extract filtered device list header (#9323)

* extract filtered device list header

* stylelint
This commit is contained in:
Kerry 2022-09-29 09:22:00 +02:00 committed by GitHub
parent c3bfb6e4a9
commit 951cad98d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 144 additions and 28 deletions

View file

@ -279,7 +279,7 @@ describe('<SessionManagerTab />', () => {
await flushPromisesWithFakeTimers();
// unverified filter is set
expect(container.querySelector('.mx_FilteredDeviceList_header')).toMatchSnapshot();
expect(container.querySelector('.mx_FilteredDeviceListHeader')).toMatchSnapshot();
});
describe('device detail expansion', () => {

View file

@ -17,10 +17,10 @@ exports[`<SessionManagerTab /> Sign out Signs out of current device 1`] = `
exports[`<SessionManagerTab /> goes to filtered list from security recommendations 1`] = `
<div
class="mx_FilteredDeviceList_header"
class="mx_FilteredDeviceListHeader"
>
<span
class="mx_FilteredDeviceList_headerLabel"
class="mx_FilteredDeviceListHeader_label"
>
Sessions
</span>