@@ -255,17 +255,17 @@ describe("gateway node pairing authorization", () => {
|
255 | 255 | test("requests re-pairing when a paired node reconnects with upgraded commands", async () => { |
256 | 256 | await expectRePairingRequest({ |
257 | 257 | pairedName: "node-command-pin", |
258 | | -initialCommands: ["canvas.snapshot"], |
259 | | -reconnectCommands: ["canvas.snapshot", "system.run"], |
| 258 | +initialCommands: ["screen.snapshot"], |
| 259 | +reconnectCommands: ["screen.snapshot", "system.run"], |
260 | 260 | approvalScopes: ["operator.pairing", "operator.write"], |
261 | | -expectedVisibleCommands: ["canvas.snapshot"], |
| 261 | +expectedVisibleCommands: ["screen.snapshot"], |
262 | 262 | }); |
263 | 263 | }); |
264 | 264 | |
265 | 265 | test("requests re-pairing when a commandless paired node reconnects with system.run", async () => { |
266 | 266 | await expectRePairingRequest({ |
267 | 267 | pairedName: "node-command-empty", |
268 | | -reconnectCommands: ["canvas.snapshot", "system.run"], |
| 268 | +reconnectCommands: ["screen.snapshot", "system.run"], |
269 | 269 | approvalScopes: ["operator.pairing"], |
270 | 270 | expectedVisibleCommands: [], |
271 | 271 | }); |
|