Files
formbricks/apps/web/playwright/utils/mock.ts
T
2024-01-08 12:04:25 +00:00

119 lines
2.8 KiB
TypeScript

export const users = {
signup: [
{
name: "SignUp Flow User 1",
email: "signup1@formbricks.com",
password: "eN791hZ7wNr9IAscf@",
},
],
onboarding: [
{
name: "Onboarding User 1",
email: "onboarding1@formbricks.com",
password: "iHalLonErFGK$X901R0",
},
{
name: "Onboarding User 2",
email: "onboarding2@formbricks.com",
password: "231Xh7D&dM8u75EjIYV",
},
],
survey: [
{
name: "Survey User 1",
email: "survey1@formbricks.com",
password: "Y1I*EpURUSb32j5XijP",
},
],
js: [
{
name: "JS User 1",
email: "js1@formbricks.com",
password: "XpP%X9UU3efj8vJa",
},
],
team: [
{
name: "Team User 1",
email: "team1@formbricks.com",
password: "Test#1234",
},
{
name: "Team User 2",
email: "team2@formbricks.com",
password: "Test#1234",
},
],
};
export const teams = {
onboarding: [
{
role: "Founder",
useCase: "Increase conversion",
productName: "Formbricks E2E Test Suite",
},
],
};
export const surveys = {
createAndSubmit: {
welcomeCard: {
headline: "Welcome to My Testing Survey Welcome Card!",
description: "This is the description of my Welcome Card!",
},
openTextQuestion: {
question: "This is my Open Text Question",
description: "This is my Open Text Description",
placeholder: "This is my Placeholder",
},
singleSelectQuestion: {
question: "This is my Single Select Question",
description: "This is my Single Select Description",
options: ["Option 1", "Option 2"],
},
multiSelectQuestion: {
question: "This is my Multi Select Question",
description: "This is Multi Select Description",
options: ["Option 1", "Option 2", "Option 3"],
},
ratingQuestion: {
question: "This is my Rating Question",
description: "This is Rating Description",
lowLabel: "My Lower Label",
highLabel: "My Upper Label",
},
npsQuestion: {
question: "This is my NPS Question",
lowLabel: "My Lower Label",
highLabel: "My Upper Label",
},
ctaQuestion: {
question: "This is my CTA Question",
buttonLabel: "My Button Label",
},
consentQuestion: {
question: "This is my Consent Question",
checkboxLabel: "My Checkbox Label",
},
pictureSelectQuestion: {
question: "This is my Picture Select Question",
description: "This is Picture Select Description",
},
fileUploadQuestion: {
question: "This is my File Upload Question",
},
thankYouCard: {
headline: "This is my Thank You Card Headline!",
description: "This is my Thank you Card Description!",
},
},
};
export const invites = {
addMember: {
name: "Team User 2",
email: "team2@formbricks.com",
},
};