Skip to content

Commit

Permalink
Put proper testing back
Browse files Browse the repository at this point in the history
  • Loading branch information
svanherk committed Sep 5, 2023
1 parent 6dbe7df commit 393d28b
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, nothing } 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 @@ -168,7 +168,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 393d28b

Please sign in to comment.