Skip to content

Commit

Permalink
Put tests back now that new goldens merged
Browse files Browse the repository at this point in the history
  • Loading branch information
svanherk committed Aug 24, 2023
1 parent da9ac4b commit db788a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/browser/element.vdiff.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css, html, LitElement } from 'lit';
import { defineCE, expect, fixture, hoverElem } from '../../src/browser/index.js';
//import { executeServerCommand } from '@web/test-runner-commands';
import { executeServerCommand } from '@web/test-runner-commands';
import { unsafeHTML } from 'lit/directives/unsafe-html.js';

const elementTag = defineCE(
Expand Down Expand Up @@ -132,7 +132,7 @@ describe('element-different', () => {
].forEach(({ name, action }) => {
it(name, async() => {
const elem = await fixture(`<${elementTag} text="Visual Difference"></${elementTag}>`);
const isGolden = true;//await executeServerCommand('vdiff-get-golden-flag');
const isGolden = await executeServerCommand('vdiff-get-golden-flag');
if (!isGolden) {
await action(elem);
await elem.updateComplete;
Expand Down

0 comments on commit db788a4

Please sign in to comment.