test: cover desktop GPU reservation
This commit is contained in:
parent
a722ca2b3b
commit
affb6f3da8
@ -258,7 +258,7 @@ describe("account dashboard", () => {
|
||||
await dashboard.unlockWolf();
|
||||
dashboard.wolf.pinInputs["secret-1"] = "1234";
|
||||
await dashboard.pairWolf("secret-1");
|
||||
dashboard.wolf.selectedGame = "arc-raiders";
|
||||
dashboard.wolf.selectedGame = "desktop";
|
||||
dashboard.wolf.note = "now";
|
||||
await dashboard.setWolfGameMode("start");
|
||||
await dashboard.setWolfGameMode("stop");
|
||||
@ -276,7 +276,7 @@ describe("account dashboard", () => {
|
||||
source_ip: "181.1.87.186",
|
||||
});
|
||||
expect(JSON.parse(seen.find((item) => item.url.includes("/game-mode/start")).body)).toEqual({
|
||||
game: "arc-raiders",
|
||||
game: "desktop",
|
||||
note: "now",
|
||||
});
|
||||
expect(JSON.parse(seen.find((item) => item.url.includes("/admin/firewall/unlock")).body)).toEqual({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user