mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Use a Firefox-allowlisted Material Symbols family for unfilled editor icons (#32945)
GitOrigin-RevId: 61b7e4044f9a57a2083c5467fa0ec6eaa0f9ae1e
This commit is contained in:
@@ -15,7 +15,14 @@ describe('MaterialIcon', function () {
|
||||
})
|
||||
|
||||
describe('Unfilled', function () {
|
||||
it('Contain all unfilled symbol', function () {
|
||||
it('uses a Firefox allowlisted icon font family name', function () {
|
||||
cy.mount(<MaterialIcon type="description" unfilled />)
|
||||
cy.get('.material-symbols.unfilled')
|
||||
.invoke('css', 'font-family')
|
||||
.should('contain', 'Material Symbols Outlined')
|
||||
})
|
||||
|
||||
it('contains all unfilled symbols', function () {
|
||||
for (const type of unfilledIconTypes) {
|
||||
cy.mount(
|
||||
<MaterialIcon type={type} unfilled style={{ fontSize: FONT_SIZE }} />
|
||||
|
||||
Reference in New Issue
Block a user