Skip to content

Commit

Permalink
Await inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
smoores-dev committed Oct 12, 2024
1 parent 4c1c7ca commit 38795ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/components/__tests__/ProseMirror.draw-decoration.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,13 @@ describe("Decoration drawing", () => {
doc: doc(p("foobar")),
plugins: [decoPlugin(["2-5-foo"])],
});
console.log("SMOORESLOG: created view");

Check failure on line 98 in src/components/__tests__/ProseMirror.draw-decoration.test.tsx

View workflow job for this annotation

GitHub Actions / check

Unexpected console statement
const found = view.dom.querySelector(".foo")!;
expect(found).not.toBeNull();
expect(found.textContent).toBe("oob");
console.log("SMOORESLOG: found .foo");

Check failure on line 100 in src/components/__tests__/ProseMirror.draw-decoration.test.tsx

View workflow job for this annotation

GitHub Actions / check

Unexpected console statement
await expect(found).not.toBeNull();
console.log("SMOORESLOG: found is not false");

Check failure on line 102 in src/components/__tests__/ProseMirror.draw-decoration.test.tsx

View workflow job for this annotation

GitHub Actions / check

Unexpected console statement
await expect(found.textContent).toBe("oob");
console.log("SMOORESLOG: found has correct content");

Check failure on line 104 in src/components/__tests__/ProseMirror.draw-decoration.test.tsx

View workflow job for this annotation

GitHub Actions / check

Unexpected console statement
});

it("draws wrapping decorations", async () => {
Expand Down
2 changes: 1 addition & 1 deletion wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const config: WebdriverIO.Config = {
// Define all options that are relevant for the WebdriverIO instance here
//
// Level of logging verbosity: trace | debug | info | warn | error | silent
logLevel: "warn",
logLevel: "info",
//
// Set specific log levels per logger
// loggers:
Expand Down

0 comments on commit 38795ba

Please sign in to comment.