mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 04:43:35 +00:00
External field (#580)
* feat: add external endpoint * add external to messagecontrol --------- Co-authored-by: Carlos Valente <carlosvalente@pm.me>
This commit is contained in:
committed by
GitHub
parent
c4886a617c
commit
797a0edf57
@@ -1,6 +1,6 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test('test', async ({ context }) => {
|
||||
test('message control sends messages to screens', async ({ context }) => {
|
||||
const editorPage = await context.newPage();
|
||||
const featurePage = await context.newPage();
|
||||
|
||||
@@ -25,9 +25,9 @@ test('test', async ({ context }) => {
|
||||
await featurePage.getByText('testing lower').click({ timeout: 5000 });
|
||||
|
||||
// stage timer message
|
||||
await editorPage.getByPlaceholder('Shown in stage timer').click();
|
||||
await editorPage.getByPlaceholder('Shown in stage timer').fill('testing stage');
|
||||
await editorPage.getByRole('button', { name: /toggle timer message/i }).click({ timeout: 5000 });
|
||||
await editorPage.getByPlaceholder('Timer').click();
|
||||
await editorPage.getByPlaceholder('Timer').fill('testing stage');
|
||||
await editorPage.getByRole('button', { name: /toggle timer/i }).click({ timeout: 5000 });
|
||||
|
||||
await featurePage.goto('http://localhost:4001/timer');
|
||||
await featurePage.waitForLoadState('load', { timeout: 5000 });
|
||||
|
||||
Reference in New Issue
Block a user