Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
import type { Page } from '@playwright/test';
export class QuestionPage {
constructor(private readonly page: Page) {}
async goto(eventId: number): Promise<void> {
await this.page.goto(`/manage/event/${eventId}/questions`);
await this.page.waitForLoadState('networkidle');
}
async addOrderQuestion(title: string): Promise<void> {
await this.page.getByTestId('question-add-button').click();
await this.page.getByRole('heading', { name: 'Create Question' }).waitFor();
await this.page.getByLabel(/^Question Title/).fill(title);
await this.page.getByTestId('question-submit-button').click();
}
}