feat: Add user statuses and cards

This commit is contained in:
2026-04-16 22:52:45 +02:00
parent b4ac0cdc92
commit 2927a86fbb
57 changed files with 1964 additions and 185 deletions

View File

@@ -4,11 +4,11 @@ import {
type Page
} from '@playwright/test';
export type ChatDropFilePayload = {
export interface ChatDropFilePayload {
name: string;
mimeType: string;
base64: string;
};
}
export class ChatMessagesPage {
readonly composer: Locator;
@@ -115,7 +115,8 @@ export class ChatMessagesPage {
getEmbedCardByTitle(title: string): Locator {
return this.page.locator('app-chat-link-embed').filter({
has: this.page.getByText(title, { exact: true })
}).last();
})
.last();
}
async editOwnMessage(originalText: string, updatedText: string): Promise<void> {

View File

@@ -1,4 +1,8 @@
import { expect, type Page, type Locator } from '@playwright/test';
import {
expect,
type Page,
type Locator
} from '@playwright/test';
export class RegisterPage {
readonly usernameInput: Locator;