M. Steller

Results 15 comments of M. Steller

I found a workaround with https://www.npmjs.com/package/query-selector-shadow-dom ``` const showroom = require('showroom/puppeteer')(); const path = require('path'); describe('Calendar graph', async () => { beforeAll(async () => { await showroom.start(); await showroom.page.addScriptTag({ path:...

I think your major limitation is fine for me, because I need findAll for unit testing data strucutres, like tables.

Hello @eavichay I did it this way ``` beforeAll(async () => { await showroom.start(); await loadLibs(); }); test('should show banner', async () => { const expectedResult = ['no-display']; await showroom.utils.trigger('init');...

yeahh... but it’s still painful to use for the selectors an `evaluate()`. The load a third party library for the findAll is just a workaround.

So.. you closed that ticket. Does this mean there will be no native findAll support in showroom?

Of course: ``` export default { component: 'calendar-graph', path: '/dist/cyChart.min.js', functions: { initStatusMapping: () => { dashboard.targetComponent.setStatusMapping([ { condition: { is: 2 }, action: { bgColor: 'green' }, legend: 'Good...

I can’t share the code of the component itself, it’s property of the company where I work :(

Hey, I did an simplified example where this issue can be reproduced: https://github.com/msteller-connyun/showroom-test just execute: ``` yarn yarn build yarn test ``` After this issue is fluffy it my not...

Hey, the tests are fluffy, that means that it sometimes works and sometimes not. Mostly, the first time it works. If I execute the test immediately a second time it’s...

@LarsDenBakker Using parcel plugins for scss was the first thing I tried, but they didn’t seem to work. However, I also tested the esbuild plugin for SCSS, which looks very...