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 { expect, test } from '@playwright/test';
import { uniqueShort } from '../../utils/unique';
test.describe('unique test data', () => {
test('short names are letters only so they always pass the person name check', () => {
const names = Array.from({ length: 5000 }, () => uniqueShort('Renamed'));
for (const name of names) {
expect(name).toMatch(/^Renamed [a-z]{6}$/);
}
expect(new Set(names).size).toBeGreaterThan(4990);
});
});