question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`fixture` with Polymer 3?

See original GitHub issue

I’ve just started with the fixture, and am trying with Polymer 3.0 — is that within scope of the project?

I’m seeing the fixture shadowDom as the below, missing quite a few nodes — does this mean the dom-f/dom-repeat modules are not coming into play in the test, though they are imported by the component under test, and work well in Chrome?

<dom-repeat as="page" style="display: none;"><template is="dom-repeat"></template></dom-repeat>```

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
daKmoRcommented, Feb 1, 2019

From the top of my head, I don’t really see why it should be a problem so that would need some deeper analysis. It may be that for conditional template elements you will need to do some special thing… So if you could create a simple repository with a failing test and share it with us we could check it out.

0reactions
leegeecommented, Feb 2, 2019

After some drastic refactoring, I don’t have the issue, so hoping it was just me on Friday. Thanks for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test your elements - Polymer Project
Test fixtures enable you to define a template of content and copy a clean, new instance of that content into each test suite....
Read more >
PolymerElements/test-fixture
This allows you to stamp out templates w/ custom models for your fixtures. For example, using Polymer's dom-bind : <test-fixture id="bound"> <dom-bind> ...
Read more >
polymer/test-fixture
A simple element to fixture DOM for tests. ... Start using @polymer/test-fixture in your project by running `npm i ... License. BSD-3-Clause ...
Read more >
Polymer is not defined flush at my-element:36 · Issue #3267
I am trying to run two tests with web-component-tester interactively on a Polymer 2 project in Chrome v69, web-component-test v 6.5.0, ...
Read more >
An adaptable flexural test fixture for miniaturised polymer ...
Designed and built a 3-point bending test fixture for miniature (<10 mg) through to small (<1 g) polymer specimens. •. Fixture can be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found