Screenshot

When using Playwright via feature flag.

Apache Superset Thumbnails via Playwright Don't Work on some Dashboards

Expected result (when not using playwright)

Apache Superset Thumbnails via Playwright Don't Work on some Dashboards

Description

It appears when using a custom background on a dashboard it covers the entire screenshot as shown above.

Custom CSS was applied as follows:

 /* changing the main dash background */
  .dashboard-content{
      background-color: green; --#452b5b;
  }

  /* changing the title bar background and text color */
  /* note that the title text looks goofy in edit mode */
  .header-with-actions {
    background-color: green; --#452b5b;
    color: white;
  }

  /* messing with the header tabs bar */
  /* this is a ridiculous selector... more classes or test attributes could help */
  .dashboard-header-container + div .dashboard-component.dashboard-component-tabs {
    background: green; --#452b5b;
  }

/cc @kgabryje

Comment From: rusackas

@virgofx are you still facing this in Superset 3.1/4.0? @sadpandajoe do we test around custom CSS at all, out of curiosity? @kgabryje any Playwright theories here?

Comment From: virgofx

I'll spin out a new cluster with latest tag with Playwright this/next week and let ya know.

Comment From: virgofx

Confirmed the issue reported is still accurate with latest build apache/superset:68c77d6-py310.

Apache Superset Thumbnails via Playwright Don't Work on some Dashboards

Comment From: rusackas

This has gone silent for nearly a year. I'm tempted to close it as stale, but I'm again wondering if it's still an issue in current versions, so I'll leave it open for the time being. Seems to be a bit of an edge case, so a PR would be welcomed if you want to pursue it.

Comment From: rusackas

This hasn't seen any corroboration or activity for over a year, so I'll close it out as inactive. Happy to reopen if we can get context on the situation in current versions.