test(e2e): force roboto font on all systems (#15993)

This commit is contained in:
Adam Bradley
2018-10-19 15:22:15 -05:00
committed by GitHub
parent 0602b6d1de
commit a9fd3399de
279 changed files with 717 additions and 708 deletions

View File

@ -1,15 +0,0 @@
{
const getStyles = () => {
const tag = document.createElement('style');
tag.textContent = `
:root {
--ion-font-family: Arial;
}
`;
return tag;
};
if (window.location.search.indexOf('ionic:_testing=true') > -1) {
document.head.appendChild(getStyles());
}
}

File diff suppressed because one or more lines are too long