mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
Added SCI for Talk and Docs
This commit is contained in:
parent
aa7273477e
commit
69bec6f148
15 changed files with 42 additions and 0 deletions
|
@ -52,6 +52,7 @@ def collaborate(playwright: Playwright, browser_name: str) -> None:
|
||||||
first_message = "FIRST_VALIDATION_MESSAGE"
|
first_message = "FIRST_VALIDATION_MESSAGE"
|
||||||
admin_user.get_by_role("dialog", name="colab_meeting.md").get_by_role("document").locator("div").first.type(first_message)
|
admin_user.get_by_role("dialog", name="colab_meeting.md").get_by_role("document").locator("div").first.type(first_message)
|
||||||
expect(docs_user.get_by_text(first_message)).to_be_visible()
|
expect(docs_user.get_by_text(first_message)).to_be_visible()
|
||||||
|
log_note("GMT_SCI_R=1")
|
||||||
|
|
||||||
for x in range(1, 7):
|
for x in range(1, 7):
|
||||||
random_message = get_random_text()
|
random_message = get_random_text()
|
||||||
|
@ -65,6 +66,7 @@ def collaborate(playwright: Playwright, browser_name: str) -> None:
|
||||||
docs_user.get_by_role("dialog", name="colab_meeting.md").get_by_role("document").locator("div").first.type(random_message)
|
docs_user.get_by_role("dialog", name="colab_meeting.md").get_by_role("document").locator("div").first.type(random_message)
|
||||||
expect(admin_user.get_by_text(random_message)).to_be_visible(timeout=15_000)
|
expect(admin_user.get_by_text(random_message)).to_be_visible(timeout=15_000)
|
||||||
|
|
||||||
|
log_note("GMT_SCI_R=1")
|
||||||
log_note("Sleeping for 5 seconds")
|
log_note("Sleeping for 5 seconds")
|
||||||
sleep(5)
|
sleep(5)
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ def send_message(sender, message):
|
||||||
sender.get_by_role("textbox", name="Write message, @ to mention someone …").click()
|
sender.get_by_role("textbox", name="Write message, @ to mention someone …").click()
|
||||||
sender.get_by_role("textbox", name="Write message, @ to mention someone …").fill(message)
|
sender.get_by_role("textbox", name="Write message, @ to mention someone …").fill(message)
|
||||||
sender.get_by_role("textbox", name="Write message, @ to mention someone …").press("Enter")
|
sender.get_by_role("textbox", name="Write message, @ to mention someone …").press("Enter")
|
||||||
|
log_note("GMT_SCI_R=1")
|
||||||
|
|
||||||
def create_conversation(playwright: Playwright, browser_name: str) -> str:
|
def create_conversation(playwright: Playwright, browser_name: str) -> str:
|
||||||
headless = True
|
headless = True
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud FPM image with a MariaDB and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
description: Installs the official Nextcloud FPM image with a MariaDB and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
||||||
compose-file: !include compose-fpm-mariadb.yml
|
compose-file: !include compose-fpm-mariadb.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: Talk message
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a MariaDB and collaborates on a document. Uses a playwright script running Chromium to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
description: Installs the official Nextcloud image with a MariaDB and collaborates on a document. Uses a playwright script running Chromium to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
||||||
compose-file: !include compose-mariadb.yml
|
compose-file: !include compose-mariadb.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: collaborative edit
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a MariaDB and collaborates on a document. Uses a playwright script running Firefox to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
description: Installs the official Nextcloud image with a MariaDB and collaborates on a document. Uses a playwright script running Firefox to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
||||||
compose-file: !include compose-mariadb.yml
|
compose-file: !include compose-mariadb.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: collaborative edit
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a MariaDB and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
description: Installs the official Nextcloud image with a MariaDB and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
||||||
compose-file: !include compose-mariadb.yml
|
compose-file: !include compose-mariadb.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: Talk message
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a MariaDB and starts a Talk conversation. Uses a playwright script running Firefox to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
description: Installs the official Nextcloud image with a MariaDB and starts a Talk conversation. Uses a playwright script running Firefox to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
||||||
compose-file: !include compose-mariadb.yml
|
compose-file: !include compose-mariadb.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: Talk message
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a Postgres and collaborates on a document. Uses a playwright script running Chromium to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
description: Installs the official Nextcloud image with a Postgres and collaborates on a document. Uses a playwright script running Chromium to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
||||||
compose-file: !include compose-postgres.yml
|
compose-file: !include compose-postgres.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: collaborative edit
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a Postgres and collaborates on a document. Uses a playwright script running Firefox to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
description: Installs the official Nextcloud image with a Postgres and collaborates on a document. Uses a playwright script running Firefox to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
||||||
compose-file: !include compose-postgres.yml
|
compose-file: !include compose-postgres.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: collaborative edit
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a Postgres and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
description: Installs the official Nextcloud image with a Postgres and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
||||||
compose-file: !include compose-postgres.yml
|
compose-file: !include compose-postgres.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: Talk message
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a Postgres and starts a Talk conversation. Uses a playwright script running Firefox to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
description: Installs the official Nextcloud image with a Postgres and starts a Talk conversation. Uses a playwright script running Firefox to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
||||||
compose-file: !include compose-postgres.yml
|
compose-file: !include compose-postgres.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: Talk message
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a SQLite and collaborates on a document. Uses a playwright script running Chromium to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
description: Installs the official Nextcloud image with a SQLite and collaborates on a document. Uses a playwright script running Chromium to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
||||||
compose-file: !include compose-sqlite.yml
|
compose-file: !include compose-sqlite.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: collaborative edit
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a SQLite and collaborates on a document. Uses a playwright script running Firefox to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
description: Installs the official Nextcloud image with a SQLite and collaborates on a document. Uses a playwright script running Firefox to create an admin account, install the recommended apps. Then creates a new user, creates a document and shares it. Finally, works on the document adding text from two browsers.
|
||||||
compose-file: !include compose-sqlite.yml
|
compose-file: !include compose-sqlite.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: collaborative edit
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a SQLite and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
description: Installs the official Nextcloud image with a SQLite and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
||||||
compose-file: !include compose-sqlite.yml
|
compose-file: !include compose-sqlite.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: Talk message
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
|
@ -4,6 +4,9 @@ author: Danilo Jesic <danilo@green-coding.berlin>
|
||||||
description: Installs the official Nextcloud image with a SQLite and starts a Talk conversation. Uses a playwright script running Firefox to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
description: Installs the official Nextcloud image with a SQLite and starts a Talk conversation. Uses a playwright script running Firefox to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
|
||||||
compose-file: !include compose-sqlite.yml
|
compose-file: !include compose-sqlite.yml
|
||||||
|
|
||||||
|
sci:
|
||||||
|
R_d: Talk message
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gcb-playwright:
|
gcb-playwright:
|
||||||
image: greencoding/gcb_playwright
|
image: greencoding/gcb_playwright
|
||||||
|
|
Loading…
Add table
Reference in a new issue