Comments (3)
What do you mean by "native dialog"?
If you mean like what you see when you run alert("hello")
in the console, then Loki won't be able to screenshot that. In web, Loki can screenshot stuff that can be rendered as DOM elements.
from loki.
I mean the html dialog element.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
It can create a dialog that is rendered above all other content. We have elements that wrap a dialog element, but I can not find a selector to use for the screenshot. It seems the dialog is rendered in "another" layer and the content of #storybook-root is therefore in effect an empty element?
from loki.
Make sure the element has the open
attribute. Loki can't screenshot stuff that's hidden.
<dialog open></dialog>
from loki.
Related Issues (20)
- @loki/target-chrome-app has an undeclared dependency on @loki/core [0.33.0]
- A new command line argument so you can provide the path to the loki config file
- Update wait-on to the latest version to fix CVE-2023-45857 vulnerability
- Command failed with exit code 125 HOT 3
- example-react "Animation" tests fails
- Random false positives when testing stories for components that have not been modified
- Storybook 8 compatibility HOT 6
- chrome.docker differences when running in CI compared to on MacOS HOT 3
- React Native Example HOT 1
- Support createAsyncCallback in play function HOT 11
- React is not defined (Continuous Integration) HOT 1
- Error with yarn pnp
- Loki test ci on Bitbucket pipeline
- TypeError: Failed to fetch dynamically imported module
- chromeEnableAnimations flag is not passed down as tabOptions
- Help on running loki with Vue HOT 1
- Loki + Storybook 8 problem with GitLab ci cd
- Loki + Gitlab CI + target.chorme: EHOSTUNREACH
- Issue with CI and loki, storybook-static
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loki.