-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Neuer Testfall Benutzer sperren * 'Test Benutzer sperren' fertig * 2 neue Tests Benutzer sperren * fix findigs from review * fix findigs from review * baseUrl introduced in playwright.config * minor changes * minor changes * Navigation in Pages hängen * minor changes * merged main into branch * Update pages/admin/PersonManagementView.page.ts Co-authored-by: Julian Aggarwal <[email protected]> * revert change getByRolle * renamed rolesTypes.ts to rollentypen.ts --------- Co-authored-by: Kristoff Kiefer <[email protected]> Co-authored-by: Julian Aggarwal <[email protected]>
- Loading branch information
1 parent
ea089c2
commit 228ffc9
Showing
13 changed files
with
273 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export const testschule = "Testschule Schulportal"; | ||
export const testschule665 = "Testschule-PW665"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const typelehrer = "LEHR"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const email = "E-Mail"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { faker } from "@faker-js/faker/locale/de"; | ||
|
||
export async function generateLehrerVorname(){ | ||
return "TAuto-PW-V-" + faker.person.firstName(); | ||
} | ||
|
||
export async function generateLehrerNachname(){ | ||
return "TAuto-PW-N-" + faker.person.lastName(); | ||
} | ||
|
||
export async function generateRolleName(){ | ||
return "TAuto-PW-R-" + faker.lorem.word({ length: { min: 8, max: 12 }}); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import moment from 'moment'; | ||
|
||
export async function gotoTargetURL(page, target: string) { | ||
await page.goto(target); | ||
} | ||
|
||
export async function generateDateToday() { | ||
return moment().format('DD.MM.YYYY'); | ||
} | ||
|
||
export async function generateDateFuture(days: number, months: number) { | ||
return moment().add({ days: days, months: months }).format('DD.MM.YYYY'); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.