Presentation playwright
This commit is contained in:
@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=false
|
NEXT_PUBLIC_EXPORT_STATIC=false
|
||||||
NEXT_PUBLIC_USE_CGI=false
|
NEXT_PUBLIC_USE_CGI=false
|
||||||
# App-Versionsnummer
|
# App-Versionsnummer
|
||||||
NEXT_PUBLIC_APP_VERSION=1.6.749
|
NEXT_PUBLIC_APP_VERSION=1.6.750
|
||||||
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||||
|
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=true
|
NEXT_PUBLIC_EXPORT_STATIC=true
|
||||||
NEXT_PUBLIC_USE_CGI=true
|
NEXT_PUBLIC_USE_CGI=true
|
||||||
# App-Versionsnummer
|
# App-Versionsnummer
|
||||||
NEXT_PUBLIC_APP_VERSION=1.6.749
|
NEXT_PUBLIC_APP_VERSION=1.6.750
|
||||||
NEXT_PUBLIC_CPL_MODE=production
|
NEXT_PUBLIC_CPL_MODE=production
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -43,3 +43,6 @@ yarn-error.log*
|
|||||||
# typescript
|
# typescript
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
next-env.d.ts
|
next-env.d.ts
|
||||||
|
|
||||||
|
# Playwright
|
||||||
|
node_modules/
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
## [1.6.750] – 2025-08-19
|
||||||
|
|
||||||
|
- feat: light und dark mode Messwerteingänge
|
||||||
|
|
||||||
|
---
|
||||||
## [1.6.749] – 2025-08-18
|
## [1.6.749] – 2025-08-18
|
||||||
|
|
||||||
- feat: header light und dark mode
|
- feat: header light und dark mode
|
||||||
|
|||||||
BIN
Testing_CPLV4_Webserver.pptx
Normal file
BIN
Testing_CPLV4_Webserver.pptx
Normal file
Binary file not shown.
80
create_presentation.py
Normal file
80
create_presentation.py
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
from pptx import Presentation
|
||||||
|
from pptx.util import Inches, Pt
|
||||||
|
from pptx.enum.text import PP_ALIGN
|
||||||
|
|
||||||
|
prs = Presentation()
|
||||||
|
|
||||||
|
def add_slide(title, content_lines):
|
||||||
|
slide_layout = prs.slide_layouts[1] # Title and Content
|
||||||
|
slide = prs.slides.add_slide(slide_layout)
|
||||||
|
title_placeholder = slide.shapes.title
|
||||||
|
content_placeholder = slide.placeholders[1]
|
||||||
|
title_placeholder.text = title
|
||||||
|
tf = content_placeholder.text_frame
|
||||||
|
tf.clear()
|
||||||
|
for line in content_lines:
|
||||||
|
p = tf.add_paragraph()
|
||||||
|
p.text = line
|
||||||
|
p.font.size = Pt(20)
|
||||||
|
p.alignment = PP_ALIGN.LEFT
|
||||||
|
|
||||||
|
# Folie 1: Titel
|
||||||
|
add_slide("Testing CPL V4 Webserver", ["Von: Ismail Ali", "Datum: 22.08.2025"])
|
||||||
|
|
||||||
|
# Folie 2 entfernt
|
||||||
|
|
||||||
|
# Folie 3: Warum testen wir?
|
||||||
|
add_slide("Warum testen wir?", [
|
||||||
|
"Um sicherzustellen, dass die Weboberfläche richtig funktioniert.",
|
||||||
|
"Fehler frühzeitig erkennen und beheben.",
|
||||||
|
"Qualität und Zuverlässigkeit verbessern."
|
||||||
|
])
|
||||||
|
|
||||||
|
# Folie 4: Was ist Playwright?
|
||||||
|
add_slide("Was ist Playwright?", [
|
||||||
|
"Ein Open-Source-Testframework von Microsoft.",
|
||||||
|
"Ermöglicht automatisierte Tests in verschiedenen Browsern (Chromium, Firefox, WebKit):",
|
||||||
|
"🟦 Chromium 🦊 Firefox 🍏 WebKit",
|
||||||
|
"Simuliert echte Benutzeraktionen wie Klicks, Eingaben und Navigation.",
|
||||||
|
"Unterstützt mehrere Programmiersprachen: JavaScript, TypeScript, Python, Java, .NET (C#).",
|
||||||
|
"Ideal für End-to-End-Tests von Webanwendungen."
|
||||||
|
])
|
||||||
|
|
||||||
|
# Folie 5: Wie habe ich getestet?
|
||||||
|
add_slide("Wie habe ich getestet?", [
|
||||||
|
"Mit Playwright automatisierte Tests geschrieben.",
|
||||||
|
"Playwright Recorder (codegen) verwendet, da es einfacher ist als manuellen Code zu schreiben.",
|
||||||
|
"Verschiedene Seiten des CPL V4 Webservers getestet:",
|
||||||
|
"- Dashboard",
|
||||||
|
"- Analoge Eingänge",
|
||||||
|
"- Einstellungen"
|
||||||
|
])
|
||||||
|
|
||||||
|
# Folie 6: Beispiel-Test (Ausschnitt)
|
||||||
|
add_slide("Beispiel-Test (Ausschnitt)", [
|
||||||
|
"Test prüft, ob wichtige Elemente sichtbar sind.",
|
||||||
|
"Beispiel: Überschrift, Buttons, Tabellenzellen.",
|
||||||
|
"Klicks und Eingaben werden simuliert."
|
||||||
|
])
|
||||||
|
|
||||||
|
# Folie 7: Test-Ergebnisse
|
||||||
|
add_slide("Test-Ergebnisse", [
|
||||||
|
"Alle Tests wurden erfolgreich ausgeführt.",
|
||||||
|
"Keine Fehler gefunden (siehe Test-Report)."
|
||||||
|
])
|
||||||
|
|
||||||
|
# Folie 8: Fazit
|
||||||
|
add_slide("Fazit", [
|
||||||
|
"Automatisierte Tests helfen, Fehler schnell zu finden.",
|
||||||
|
"Playwright ist einfach zu bedienen, auch für Anfänger.",
|
||||||
|
"Tests machen die Entwicklung sicherer und effizienter."
|
||||||
|
])
|
||||||
|
|
||||||
|
# Folie 9: Fragen?
|
||||||
|
add_slide("Fragen?", [
|
||||||
|
"Vielen Dank für die Aufmerksamkeit!",
|
||||||
|
"Gibt es Fragen?"
|
||||||
|
])
|
||||||
|
|
||||||
|
prs.save("Testing_CPLV4_Webserver.pptx")
|
||||||
|
print("Präsentation erstellt: Testing_CPLV4_Webserver.pptx")
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.749",
|
"version": "1.6.750",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.749",
|
"version": "1.6.750",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.1.0",
|
"@fontsource/roboto": "^5.1.0",
|
||||||
"@headlessui/react": "^2.2.4",
|
"@headlessui/react": "^2.2.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.749",
|
"version": "1.6.750",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Reference in New Issue
Block a user