Closed Bug 1642837 Opened 4 years ago Closed 4 years ago

Perma TEST-UNEXPECTED-FAIL | jest | framework | ● DebugTargetInfo component › Target icon › renders the expected snapshot for a worker target

Categories

(DevTools :: Framework, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: cbrindusan [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=304791542&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EpeUUP6ET22ZKJMLU3hmLw/runs/0/artifacts/public/logs/live_backing.log


[task 2020-06-02T22:07:51.406Z] TEST START | jest | framework
[task 2020-06-02T22:07:51.406Z] [devtools-node-test-runner] Run yarn test in test folder
[task 2020-06-02T22:07:56.085Z] PASS store/targets.test.js
[task 2020-06-02T22:07:56.086Z] Toolbox store - targets
[task 2020-06-02T22:07:56.086Z] registerTarget
[task 2020-06-02T22:07:56.086Z] ✓ adds the target to the list (12ms)
[task 2020-06-02T22:07:56.086Z] selectTarget
[task 2020-06-02T22:07:56.086Z] ✓ updates the selected property when the target is known (1ms)
[task 2020-06-02T22:07:56.086Z] ✓ does not update the selected property when the target is unknown (1ms)
[task 2020-06-02T22:07:56.086Z] ✓ does not update the state when the target is already selected (1ms)
[task 2020-06-02T22:07:56.086Z] unregisterTarget
[task 2020-06-02T22:07:56.086Z] ✓ removes the target from the list (2ms)
[task 2020-06-02T22:07:56.086Z] ✓ does not update the state when the target is unknown (1ms)
[task 2020-06-02T22:07:56.086Z] ✓ resets the selected property when it was the selected target (1ms)
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] FAIL components/debug-target-info.test.js
[task 2020-06-02T22:07:56.086Z] DebugTargetInfo component
[task 2020-06-02T22:07:56.086Z] Connection info
[task 2020-06-02T22:07:56.086Z] ✓ displays connection info for USB Release target (17ms)
[task 2020-06-02T22:07:56.086Z] ✓ renders the expected snapshot for USB Release target (5ms)
[task 2020-06-02T22:07:56.086Z] ✓ hides the connection info for This Firefox target (2ms)
[task 2020-06-02T22:07:56.086Z] Target title
[task 2020-06-02T22:07:56.086Z] ✓ displays the target title if the target of the Toolbox has a name (1ms)
[task 2020-06-02T22:07:56.086Z] ✓ renders the expected snapshot for This Firefox target (1ms)
[task 2020-06-02T22:07:56.086Z] ✓ doesn't display the target title if the target of the Toolbox has no name (1ms)
[task 2020-06-02T22:07:56.086Z] ✓ renders the expected snapshot for a Toolbox with an unnamed target (2ms)
[task 2020-06-02T22:07:56.086Z] Target icon
[task 2020-06-02T22:07:56.086Z] ✓ renders the expected snapshot for a tab target (1ms)
[task 2020-06-02T22:07:56.086Z] ✕ renders the expected snapshot for a worker target (7ms)
[task 2020-06-02T22:07:56.086Z] ✕ renders the expected snapshot for an extension target (3ms)
[task 2020-06-02T22:07:56.086Z] ✕ renders the expected snapshot for a process target (2ms)
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] ● DebugTargetInfo component › Target icon › renders the expected snapshot for a worker target
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] expect(received).toMatchSnapshot()
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] Snapshot name: DebugTargetInfo component Target icon renders the expected snapshot for a worker target 1
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] - Snapshot - 1
[task 2020-06-02T22:07:56.086Z] + Received + 1
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] @@ -43,11 +43,11 @@
[task 2020-06-02T22:07:56.086Z] </span>
[task 2020-06-02T22:07:56.086Z] <span
[task 2020-06-02T22:07:56.086Z] className="debug-target-url"
[task 2020-06-02T22:07:56.086Z] >
[task 2020-06-02T22:07:56.086Z] <span
[task 2020-06-02T22:07:56.086Z] - className="devtools-ellipsis-text"
[task 2020-06-02T22:07:56.086Z] + className="debug-target-url-readonly devtools-ellipsis-text"
[task 2020-06-02T22:07:56.086Z] >
[task 2020-06-02T22:07:56.086Z] http://some.target/url
[task 2020-06-02T22:07:56.086Z] </span>
[task 2020-06-02T22:07:56.086Z] </span>[task 2020-06-02T22:07:56.086Z] </header>
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] 168 | });
[task 2020-06-02T22:07:56.086Z] 169 | const component = renderer.create(DebugTargetInfo(props));
[task 2020-06-02T22:07:56.086Z] > 170 | expect(component.toJSON()).toMatchSnapshot();
[task 2020-06-02T22:07:56.086Z] | ^
[task 2020-06-02T22:07:56.086Z] 171 | });
[task 2020-06-02T22:07:56.086Z] 172 |
[task 2020-06-02T22:07:56.086Z] 173 | it("renders the expected snapshot for an extension target", () => {
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] at Object.toMatchSnapshot (components/debug-target-info.test.js:170:34)
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] ● DebugTargetInfo component › Target icon › renders the expected snapshot for an extension target
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] expect(received).toMatchSnapshot()
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] Snapshot name: DebugTargetInfo component Target icon renders the expected snapshot for an extension target 1
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] - Snapshot - 1
[task 2020-06-02T22:07:56.086Z] + Received + 1
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] @@ -43,11 +43,11 @@
[task 2020-06-02T22:07:56.086Z] </span>
[task 2020-06-02T22:07:56.086Z] <span
[task 2020-06-02T22:07:56.086Z] className="debug-target-url"
[task 2020-06-02T22:07:56.086Z] >
[task 2020-06-02T22:07:56.086Z] <span
[task 2020-06-02T22:07:56.086Z] - className="devtools-ellipsis-text"
[task 2020-06-02T22:07:56.086Z] + className="debug-target-url-readonly devtools-ellipsis-text"
[task 2020-06-02T22:07:56.086Z] >
[task 2020-06-02T22:07:56.086Z] http://some.target/url[task 2020-06-02T22:07:56.086Z] </span>
[task 2020-06-02T22:07:56.086Z] </span>
[task 2020-06-02T22:07:56.086Z] </header>
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] 176 | });
[task 2020-06-02T22:07:56.086Z] 177 | const component = renderer.create(DebugTargetInfo(props));
[task 2020-06-02T22:07:56.086Z] > 178 | expect(component.toJSON()).toMatchSnapshot();
[task 2020-06-02T22:07:56.086Z] | ^
[task 2020-06-02T22:07:56.086Z] 179 | });
[task 2020-06-02T22:07:56.086Z] 180 |
[task 2020-06-02T22:07:56.086Z] 181 | it("renders the expected snapshot for a process target", () => {
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] at Object.toMatchSnapshot (components/debug-target-info.test.js:178:34)
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] ● DebugTargetInfo component › Target icon › renders the expected snapshot for a process target
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] expect(received).toMatchSnapshot()
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] Snapshot name: DebugTargetInfo component Target icon renders the expected snapshot for a process target 1
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] - Snapshot - 1
[task 2020-06-02T22:07:56.086Z] + Received + 1
[task 2020-06-02T22:07:56.086Z]
[task 2020-06-02T22:07:56.086Z] @@ -43,11 +43,11 @@
[task 2020-06-02T22:07:56.086Z] </span>
[task 2020-06-02T22:07:56.086Z] <span
[task 2020-06-02T22:07:56.086Z] className="debug-target-url"
[task 2020-06-02T22:07:56.086Z] >
[task 2020-06-02T22:07:56.086Z] <span
[task 2020-06-02T22:07:56.086Z] - className="devtools-ellipsis-text"
[task 2020-06-02T22:07:56.086Z] + className="debug-target-url-readonly devtools-ellipsis-text"
[task 2020-06-02T22:07:56.086Z] >
[task 2020-06-02T22:07:56.087Z] http://some.target/url[task 2020-06-02T22:07:56.087Z] </span>
[task 2020-06-02T22:07:56.087Z] </span>
[task 2020-06-02T22:07:56.087Z] </header>
[task 2020-06-02T22:07:56.087Z]
[task 2020-06-02T22:07:56.087Z] 184 | });
[task 2020-06-02T22:07:56.087Z] 185 | const component = renderer.create(DebugTargetInfo(props));
[task 2020-06-02T22:07:56.087Z] > 186 | expect(component.toJSON()).toMatchSnapshot();
[task 2020-06-02T22:07:56.087Z] | ^
[task 2020-06-02T22:07:56.087Z] 187 | });
[task 2020-06-02T22:07:56.087Z] 188 | });
[task 2020-06-02T22:07:56.087Z] 189 | });
[task 2020-06-02T22:07:56.087Z]
[task 2020-06-02T22:07:56.087Z] at Object.toMatchSnapshot (components/debug-target-info.test.js:186:34)
[task 2020-06-02T22:07:56.087Z]
[task 2020-06-02T22:07:56.087Z] › 3 snapshots failed.
[task 2020-06-02T22:07:56.087Z] Snapshot Summary
[task 2020-06-02T22:07:56.087Z] › 3 snapshots failed from 1 test suite. Inspect your code changes or run yarn run test-ci -u to update them.
[task 2020-06-02T22:07:56.087Z]
[task 2020-06-02T22:07:56.087Z] Test Suites: 1 failed, 1 passed, 2 total
[task 2020-06-02T22:07:56.087Z] Tests: 3 failed, 15 passed, 18 total
[task 2020-06-02T22:07:56.087Z] Snapshots: 3 failed, 4 passed, 7 total
[task 2020-06-02T22:07:56.087Z] Time: 3.388s
[task 2020-06-02T22:07:56.087Z] Ran all test suites.
[task 2020-06-02T22:07:56.088Z] error Command failed with exit code 1.
[task 2020-06-02T22:07:56.088Z] [devtools-node-test-runner] Error log[task 2020-06-02T22:07:56.088Z] PASS store/targets.test.js
[task 2020-06-02T22:07:56.088Z] Toolbox store - targets
[task 2020-06-02T22:07:56.088Z] registerTarget
[task 2020-06-02T22:07:56.088Z] ✓ adds the target to the list (12ms)
[task 2020-06-02T22:07:56.088Z] selectTarget
[task 2020-06-02T22:07:56.088Z] ✓ updates the selected property when the target is known (1ms)
[task 2020-06-02T22:07:56.088Z] ✓ does not update the selected property when the target is unknown (1ms)
[task 2020-06-02T22:07:56.088Z] ✓ does not update the state when the target is already selected (1ms)
[task 2020-06-02T22:07:56.088Z] unregisterTarget
[task 2020-06-02T22:07:56.088Z] ✓ removes the target from the list (2ms)
[task 2020-06-02T22:07:56.088Z] ✓ does not update the state when the target is unknown (1ms)
[task 2020-06-02T22:07:56.088Z] ✓ resets the selected property when it was the selected target (1ms)
[task 2020-06-02T22:07:56.088Z]
[task 2020-06-02T22:07:56.088Z] FAIL components/debug-target-info.test.js
[task 2020-06-02T22:07:56.088Z] DebugTargetInfo component
[task 2020-06-02T22:07:56.089Z] Connection info
[task 2020-06-02T22:07:56.089Z] ✓ displays connection info for USB Release target (17ms)
[task 2020-06-02T22:07:56.089Z] ✓ renders the expected snapshot for USB Release target (5ms)
[task 2020-06-02T22:07:56.089Z] ✓ hides the connection info for This Firefox target (2ms)
[task 2020-06-02T22:07:56.089Z] Target title
[task 2020-06-02T22:07:56.089Z] ✓ displays the target title if the target of the Toolbox has a name (1ms)
[task 2020-06-02T22:07:56.089Z] ✓ renders the expected snapshot for This Firefox target (1ms)
[task 2020-06-02T22:07:56.089Z] ✓ doesn't display the target title if the target of the Toolbox has no name (1ms)
[task 2020-06-02T22:07:56.089Z] ✓ renders the expected snapshot for a Toolbox with an unnamed target (2ms)
[task 2020-06-02T22:07:56.089Z] Target icon
[task 2020-06-02T22:07:56.089Z] ✓ renders the expected snapshot for a tab target (1ms)
[task 2020-06-02T22:07:56.089Z] ✕ renders the expected snapshot for a worker target (7ms)
[task 2020-06-02T22:07:56.089Z] ✕ renders the expected snapshot for an extension target (3ms)
[task 2020-06-02T22:07:56.089Z] ✕ renders the expected snapshot for a process target (2ms)
[task 2020-06-02T22:07:56.089Z] [task 2020-06-02T22:07:56.089Z] ● DebugTargetInfo component › Target icon › renders the expected snapshot for a worker target
[task 2020-06-02T22:07:56.089Z]
[task 2020-06-02T22:07:56.089Z] expect(received).toMatchSnapshot()
[task 2020-06-02T22:07:56.089Z]
[task 2020-06-02T22:07:56.089Z] Snapshot name: DebugTargetInfo component Target icon renders the expected snapshot for a worker target 1
[task 2020-06-02T22:07:56.089Z]
[task 2020-06-02T22:07:56.089Z] - Snapshot - 1
[task 2020-06-02T22:07:56.089Z] + Received + 1
[task 2020-06-02T22:07:56.089Z]
[task 2020-06-02T22:07:56.089Z] @@ -43,11 +43,11 @@
[task 2020-06-02T22:07:56.089Z] </span>
[task 2020-06-02T22:07:56.089Z] <span
[task 2020-06-02T22:07:56.089Z] className="debug-target-url"
[task 2020-06-02T22:07:56.089Z] >
[task 2020-06-02T22:07:56.089Z] <span
[task 2020-06-02T22:07:56.090Z] - className="devtools-ellipsis-text"
[task 2020-06-02T22:07:56.090Z] + className="debug-target-url-readonly devtools-ellipsis-text"
[task 2020-06-02T22:07:56.090Z] >
[task 2020-06-02T22:07:56.090Z] http://some.target/url
[task 2020-06-02T22:07:56.090Z] </span>
[task 2020-06-02T22:07:56.090Z] </span>
[task 2020-06-02T22:07:56.090Z] </header>
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] 168 | });
[task 2020-06-02T22:07:56.090Z] 169 | const component = renderer.create(DebugTargetInfo(props));
[task 2020-06-02T22:07:56.090Z] > 170 | expect(component.toJSON()).toMatchSnapshot();
[task 2020-06-02T22:07:56.090Z] | ^
[task 2020-06-02T22:07:56.090Z] 171 | });
[task 2020-06-02T22:07:56.090Z] 172 |
[task 2020-06-02T22:07:56.090Z] 173 | it("renders the expected snapshot for an extension target", () => {
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] at Object.toMatchSnapshot (components/debug-target-info.test.js:170:34)
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] ● DebugTargetInfo component › Target icon › renders the expected snapshot for an extension target
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] expect(received).toMatchSnapshot()
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] Snapshot name: DebugTargetInfo component Target icon renders the expected snapshot for an extension target 1
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] - Snapshot - 1
[task 2020-06-02T22:07:56.090Z] + Received + 1
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] @@ -43,11 +43,11 @@
[task 2020-06-02T22:07:56.090Z] </span>
[task 2020-06-02T22:07:56.090Z] <span
[task 2020-06-02T22:07:56.090Z] className="debug-target-url"
[task 2020-06-02T22:07:56.090Z] >
[task 2020-06-02T22:07:56.090Z] <span
[task 2020-06-02T22:07:56.090Z] - className="devtools-ellipsis-text"
[task 2020-06-02T22:07:56.090Z] + className="debug-target-url-readonly devtools-ellipsis-text"
[task 2020-06-02T22:07:56.090Z] >
[task 2020-06-02T22:07:56.090Z] http://some.target/url
[task 2020-06-02T22:07:56.090Z] </span>
[task 2020-06-02T22:07:56.090Z] </span>
[task 2020-06-02T22:07:56.090Z] </header>
[task 2020-06-02T22:07:56.090Z]
[task 2020-06-02T22:07:56.090Z] 176 | });
[task 2020-06-02T22:07:56.090Z] 177 | const component = renderer.create(DebugTargetInfo(props));
[task 2020-06-02T22:07:56.090Z] > 178 | expect(component.toJSON()).toMatchSnapshot();
[task 2020-06-02T22:07:56.091Z] | ^
[task 2020-06-02T22:07:56.091Z] 179 | });
[task 2020-06-02T22:07:56.091Z] 180 |
[task 2020-06-02T22:07:56.091Z] 181 | it("renders the expected snapshot for a process target", () => {[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] at Object.toMatchSnapshot (components/debug-target-info.test.js:178:34)
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] ● DebugTargetInfo component › Target icon › renders the expected snapshot for a process target
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] expect(received).toMatchSnapshot()
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] Snapshot name: DebugTargetInfo component Target icon renders the expected snapshot for a process target 1
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] - Snapshot - 1
[task 2020-06-02T22:07:56.091Z] + Received + 1
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] @@ -43,11 +43,11 @@
[task 2020-06-02T22:07:56.091Z] </span>
[task 2020-06-02T22:07:56.091Z] <span
[task 2020-06-02T22:07:56.091Z] className="debug-target-url"
[task 2020-06-02T22:07:56.091Z] >
[task 2020-06-02T22:07:56.091Z] <span
[task 2020-06-02T22:07:56.091Z] - className="devtools-ellipsis-text"
[task 2020-06-02T22:07:56.091Z] + className="debug-target-url-readonly devtools-ellipsis-text"
[task 2020-06-02T22:07:56.091Z] >
[task 2020-06-02T22:07:56.091Z] http://some.target/url
[task 2020-06-02T22:07:56.091Z] </span>
[task 2020-06-02T22:07:56.091Z] </span>
[task 2020-06-02T22:07:56.091Z] </header>
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] 184 | });
[task 2020-06-02T22:07:56.091Z] 185 | const component = renderer.create(DebugTargetInfo(props));
[task 2020-06-02T22:07:56.091Z] > 186 | expect(component.toJSON()).toMatchSnapshot();
[task 2020-06-02T22:07:56.091Z] | ^
[task 2020-06-02T22:07:56.091Z] 187 | });
[task 2020-06-02T22:07:56.091Z] 188 | });[task 2020-06-02T22:07:56.091Z] 189 | });
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] at Object.toMatchSnapshot (components/debug-target-info.test.js:186:34)
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] › 3 snapshots failed.
[task 2020-06-02T22:07:56.091Z] Snapshot Summary
[task 2020-06-02T22:07:56.091Z] › 3 snapshots failed from 1 test suite. Inspect your code changes or run yarn run test-ci -u to update them.
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] Test Suites: 1 failed, 1 passed, 2 total
[task 2020-06-02T22:07:56.091Z] Tests: 3 failed, 15 passed, 18 total
[task 2020-06-02T22:07:56.091Z] Snapshots: 3 failed, 4 passed, 7 total
[task 2020-06-02T22:07:56.091Z] Time: 3.388s
[task 2020-06-02T22:07:56.091Z] Ran all test suites.
[task 2020-06-02T22:07:56.091Z] error Command failed with exit code 1.
[task 2020-06-02T22:07:56.091Z]
[task 2020-06-02T22:07:56.091Z] [devtools-node-test-runner] Parse errors from the test logs
[task 2020-06-02T22:07:56.091Z] TEST-UNEXPECTED-FAIL | jest | framework | ● DebugTargetInfo component › Target icon › renders the expected snapshot for a worker target
[task 2020-06-02T22:07:56.091Z] TEST-UNEXPECTED-FAIL | jest | framework | ● DebugTargetInfo component › Target icon › renders the expected snapshot for an extension target
[task 2020-06-02T22:07:56.091Z] TEST-UNEXPECTED-FAIL | jest | framework | ● DebugTargetInfo component › Target icon › renders the expected snapshot for a process target

Component: General → Framework
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.