From 57e9c3c922189e84dfa97b3133d7ebccd180d097 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Mon, 18 Nov 2024 20:13:32 +0100 Subject: [PATCH] OZG-6967 fix camelCase --- .../benutzer_rollen/benutzer_rollen.cy.ts | 16 ++++++++-------- .../organisationseinheiten-signaturen.cy.ts | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/alfa-client/apps/admin-e2e/src/e2e/main-tests/benutzer_rollen/benutzer_rollen.cy.ts b/alfa-client/apps/admin-e2e/src/e2e/main-tests/benutzer_rollen/benutzer_rollen.cy.ts index 8a54a3d07f..980f009afc 100644 --- a/alfa-client/apps/admin-e2e/src/e2e/main-tests/benutzer_rollen/benutzer_rollen.cy.ts +++ b/alfa-client/apps/admin-e2e/src/e2e/main-tests/benutzer_rollen/benutzer_rollen.cy.ts @@ -8,10 +8,10 @@ const benutzerPage: BenutzerE2EComponent = new BenutzerE2EComponent(); const role1: string = 'VERWALTUNG_USER'; const role2: string = 'VERWALTUNG_LOESCHEN'; const role3: string = 'VERWALTUNG_POSTSTELLE'; -const OrganisationsEinheitName1: string = 'Ordnungsamt'; -const OrganisationsEinheitName2: string = 'Denkmalpflege'; -const OrganisationsEinheitName3: string = 'Wirtschaftsförderung'; -const OrganisationsEinheitNone: string = 'keine zuständige Stelle zugewiesen'; +const organisationsEinheitName1: string = 'Ordnungsamt'; +const organisationsEinheitName2: string = 'Denkmalpflege'; +const organisationsEinheitName3: string = 'Wirtschaftsförderung'; +const organisationsEinheitNone: string = 'keine zuständige Stelle zugewiesen'; const emailAddress: string = 'peter.von.der.post@ozg-sh.de'; describe('Benutzer und Rollen', () => { @@ -28,12 +28,12 @@ describe('Benutzer und Rollen', () => { it('should show users and attributes in table', () => { exist(benutzerPage.getUserEntry('ariane')); benutzerPage.stringExistsInUserEntry(role1, 'dorothea'); - benutzerPage.stringExistsInUserEntry(OrganisationsEinheitName1, 'ludwig'); + benutzerPage.stringExistsInUserEntry(organisationsEinheitName1, 'ludwig'); benutzerPage.stringExistsInUserEntry(role1, 'zelda'); benutzerPage.stringExistsInUserEntry(role2, 'ludwig'); - benutzerPage.stringExistsInUserEntry(OrganisationsEinheitName2, 'zelda'); - benutzerPage.stringExistsInUserEntry(OrganisationsEinheitName3, 'zelda'); - benutzerPage.stringExistsInUserEntry(OrganisationsEinheitNone, 'richard'); + benutzerPage.stringExistsInUserEntry(organisationsEinheitName2, 'zelda'); + benutzerPage.stringExistsInUserEntry(organisationsEinheitName3, 'zelda'); + benutzerPage.stringExistsInUserEntry(organisationsEinheitNone, 'richard'); benutzerPage.stringExistsInUserEntry(emailAddress, 'peter'); benutzerPage.stringExistsInUserEntry(role3, 'peter'); }); diff --git a/alfa-client/apps/admin-e2e/src/e2e/organisationseinheiten/organisationseinheiten-signaturen.cy.ts b/alfa-client/apps/admin-e2e/src/e2e/organisationseinheiten/organisationseinheiten-signaturen.cy.ts index d0fef2b5cb..652c0aa730 100644 --- a/alfa-client/apps/admin-e2e/src/e2e/organisationseinheiten/organisationseinheiten-signaturen.cy.ts +++ b/alfa-client/apps/admin-e2e/src/e2e/organisationseinheiten/organisationseinheiten-signaturen.cy.ts @@ -7,7 +7,7 @@ import { loginAsAriane } from '../../support/user-util'; describe('Signatur', () => { const mainPage: MainPage = new MainPage(); const signaturePage: OrganisationseinheitenSignaturE2EComponent = new OrganisationseinheitenSignaturE2EComponent(); - const organisationseinheitenTab: OrganisationsEinheitenE2EComponent = new OrganisationsEinheitenE2EComponent(); + const organisationsEinheitenTab: OrganisationsEinheitenE2EComponent = new OrganisationsEinheitenE2EComponent(); const signaturText: string = 'Signatur\nmit\n\n\n\nZeilenumbruch\n\n'; @@ -18,7 +18,7 @@ describe('Signatur', () => { it('should open signature page for Bauamt on click', () => { waitForSpinnerToDisappear(); mainPage.clickOrganisationsEinheitenTab(); - organisationseinheitenTab.clickOrganisationsEinheit('Bauamt'); + organisationsEinheitenTab.clickOrganisationsEinheit('Bauamt'); haveText(signaturePage.getOrganisationsEinheitName(), 'Bauamt'); }); -- GitLab