From cd96988d6b6b1fc7049519a7212a52cd58e99e4c Mon Sep 17 00:00:00 2001 From: Alexander Madsen <alexander.madsen@ess.eu> Date: Mon, 23 Oct 2023 08:25:22 +0000 Subject: [PATCH] CE-2177: Stop using John Sparger's face in stories --- src/api/UserProvider.spec.js | 2 +- src/mocks/fixtures/CreateIocResult.json | 2 +- src/mocks/fixtures/User.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/UserProvider.spec.js b/src/api/UserProvider.spec.js index f23cc181..f9560ce8 100644 --- a/src/api/UserProvider.spec.js +++ b/src/api/UserProvider.spec.js @@ -40,7 +40,7 @@ describe("UserProvider", () => { cy.wait("@getUserRoles"); cy.wait("@infoFromUserName"); - cy.get("#display").contains("John Wayne").contains("DeploymentToolAdmin"); + cy.get("#display").contains("John Smith").contains("DeploymentToolAdmin"); cy.get("@infoFromUserName.all").should("have.length", 1); }); diff --git a/src/mocks/fixtures/CreateIocResult.json b/src/mocks/fixtures/CreateIocResult.json index db483e36..ff37cac9 100644 --- a/src/mocks/fixtures/CreateIocResult.json +++ b/src/mocks/fixtures/CreateIocResult.json @@ -1,7 +1,7 @@ { "id": 346, "namingName": "VacS-RFQ:SC-IOC-130", - "createdBy": "johnwayne", + "createdBy": "johnsmith", "gitProjectId": 5336, "activeDeployment": { "host": { diff --git a/src/mocks/fixtures/User.json b/src/mocks/fixtures/User.json index 61747785..b7ac9289 100644 --- a/src/mocks/fixtures/User.json +++ b/src/mocks/fixtures/User.json @@ -1,6 +1,6 @@ { - "fullName": "John Wayne", - "loginName": "johnwayne", - "avatar": "https://gitlab.esss.lu.se/uploads/-/system/user/avatar/92/avatar.png", + "fullName": "John Smith", + "loginName": "johnsmith", + "avatar": "https://source.boringavatars.com/beam/200/?square", "email": null } -- GitLab