Skip to content

Instantly share code, notes, and snippets.

@jasonLaster
Last active September 1, 2023 02:11
Show Gist options
  • Save jasonLaster/31992fd4b4125817eb8e2baa17b9be33 to your computer and use it in GitHub Desktop.
Save jasonLaster/31992fd4b4125817eb8e2baa17b9be33 to your computer and use it in GitHub Desktop.

Updated Errors Summary

1. Timeout Errors (Locators)

  • '[data-test-id="QuickOpenResultsList"]
    • has-text: "bundle_input.js"
    • has-text: "bar"
  • '#toolbox-content-debugger'
  • '[data-test-name="Message"]
    • has-text: 'Done'
    • has-text: 'Proxy{}'
    • has-text: 'ExampleFinished'
    • has-text: 'Initial list'
    • has-text: 'Waiting for breakpoint at doc_rr_basic.html:21 (waitForBreakpoint
    • has-text: 'ConsoleTrace'
  • 'input#FilterToggle-warnings'
  • '[data-test-id="ConsoleFilterToggles"]'
  • '.outline-list'
  • '[data-test-id="ViewToggle-DevTools"]'
  • '[data-test-name="UserActionEventDetails"]'
  • '[data-test-id=consoleDockButton]'
  • 'input#FilterToggle-exceptions'
  • '[data-test-message-type="console-error"]
    • has-text: 'Error: Baz'
  • '[data-test-name=Source]'
  • '[data-test-id="FocusInputs"]'
  • '[data-test-name="InspectedElement-Title"]'
  • '[data-test-id="consoleDockButton"]'

2. Assertion Failures

  • For Expected: "100"
    • Received: "59
    • Received: "99
    • Received: "87
    • Received: "0
    • Received: "75
    • Received: "84
    • Received: "77
    • Received: "93
  • Expected: 2, Received: : 1 occurrence(s)
  • Expected: 27, Received: 3: 1 occurrence(s)
  • Expected: 1, Received: : 1 occurrence(s)
  • Expected: 38, Received: nul: 1 occurrence(s)
  • Expected: > 0, Received: : 1 occurrence(s)
  • Expected: "resolved", Received: "pending: 1 occurrence(s)

3. Waiting for Elements

  • Waiting for hit counts loaded for lines: 21, 17, 9, 4, 118, 24, 20, 5, 50, 10.

4. Others

  • Timed out 5000ms waiting for expect(received).toBeEnabled(): 1 occurrence(s)
  • Timed out 5000ms waiting for expect(received).toContainText(expected)

Expected string: "type: "click"" Received string: "doc_events_chromium.html:11PointerEvent{isTrusted: false, pointerId: ƒget pointerId(), width: ƒget width(), height: ƒget height(), pressure: ƒget pressure(), …}Loading…[[Prototype]]: PointerEvent Rewind ": 1 occurrence(s)

  • Timed out 5000ms waiting for expect(received).toBeVisible(): 1 occurrence(s)
  • Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality

Expected: 20 Received: 0: 1 occurrence(s)

  • Timed out 5000ms waiting for expect(received).toContainText(expected)

Expected string: "type: "click"" Received string: "": 1 occurrence(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment