ATF - Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2021 02:16 AM
I was facing the below error while asserting a text on a change form .There was a error message generated by g_form.addErrorMessage(). Ia m trying to validate whether its present on the form
Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2022 10:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2022 08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2022 08:36 AM
Oh BTW, thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2022 10:07 PM
Thats the issue that I mentioned before, actually finding the place where its linked. But since this is about CSS, go have a look at the portal CSS table (sp_css).
Here, try looking for the name or css containing your "fonts.googleapis.com/css2?family=Roboto", most probably it will be in the CSS field.
IF you find it, then you need to find to which depedency its linked to. Note the name of the css. Open up the CSS Include table (sp_css_include) and search for the CSS in "style sheet".
If you DONT find the googlefont in the css table, look in the CSS include table anyway, but this time in the "css file url" field. CSS includes can be URLs or Style Sheets.
Hopefully youve found the css include by now, in the record is a related list to all dependencies. Open those and try removing the "include on page load" until the ATF works.
Kind regards
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 07:29 AM