mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-12 10:37:22 -06:00
308 lines
8.9 KiB
TypeScript
308 lines
8.9 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",
|
|
},
|
|
{
|
|
name: "Survey User 2",
|
|
email: "survey2@formbricks.com",
|
|
password: "G73*Gjif22F4JKM1pA",
|
|
},
|
|
{
|
|
name: "Survey User 3",
|
|
email: "survey3@formbricks.com",
|
|
password: "Gj2DGji27D&M8u53V",
|
|
},
|
|
{
|
|
name: "Survey User 4",
|
|
email: "survey4@formbricks.com",
|
|
password: "UU3efj8vJa&M8u5M1",
|
|
},
|
|
],
|
|
js: [
|
|
{
|
|
name: "JS User 1",
|
|
email: "js1@formbricks.com",
|
|
password: "XpP%X9UU3efj8vJa",
|
|
},
|
|
],
|
|
action: [
|
|
{
|
|
name: "Action User 1",
|
|
email: "action1@formbricks.com",
|
|
password: "XpP%X9UU3efj8vJa",
|
|
},
|
|
{
|
|
name: "Action User 2",
|
|
email: "action2@formbricks.com",
|
|
password: "XpP%X9UU3efj8vJa",
|
|
},
|
|
{
|
|
name: "Action User 3",
|
|
email: "action3@formbricks.com",
|
|
password: "XpP%X9UU3efj8vJa",
|
|
},
|
|
{
|
|
name: "Action User 4",
|
|
email: "action4@formbricks.com",
|
|
password: "XpP%X9UU3efj8vJa",
|
|
},
|
|
{
|
|
name: "Action User 5",
|
|
email: "action5@formbricks.com",
|
|
password: "XpP%X9UU3efj8vJa",
|
|
},
|
|
],
|
|
organization: [
|
|
{
|
|
name: "Organization User 1",
|
|
email: "organization1@formbricks.com",
|
|
password: "Test#1234",
|
|
},
|
|
{
|
|
name: "Organization User 2",
|
|
email: "organization2@formbricks.com",
|
|
password: "Test#1234",
|
|
},
|
|
],
|
|
};
|
|
|
|
export const organizations = {
|
|
onboarding: [
|
|
{
|
|
role: "Founder",
|
|
useCase: "Increase conversion",
|
|
productName: "My Product",
|
|
},
|
|
],
|
|
};
|
|
|
|
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",
|
|
},
|
|
matrix: {
|
|
question: "How much do you love these flowers?",
|
|
description: "0: Not at all, 3: Love it",
|
|
rows: ["Rose 🌹", "Sunflower 🌻", "Hibiscus 🌺"],
|
|
columns: ["0", "1", "2", "3"],
|
|
},
|
|
address: {
|
|
question: "Where do you live?",
|
|
placeholder: "Address Line 1",
|
|
},
|
|
thankYouCard: {
|
|
headline: "This is my Thank You Card Headline!",
|
|
description: "This is my Thank you Card Description!",
|
|
},
|
|
},
|
|
germanCreate: {
|
|
welcomeCard: {
|
|
headline: "Willkommen zu meiner Testumfrage Willkommenskarte!", // German translation
|
|
description: "Dies ist die Beschreibung meiner Willkommenskarte!", // German translation
|
|
},
|
|
openTextQuestion: {
|
|
question: "Dies ist meine offene Textfrage", // German translation
|
|
description: "Dies ist meine Beschreibung zum offenen Text", // German translation
|
|
placeholder: "Dies ist mein Platzhalter", // German translation
|
|
},
|
|
singleSelectQuestion: {
|
|
question: "Dies ist meine Einzelauswahlfrage", // German translation
|
|
description: "Dies ist meine Beschreibung zur Einzelauswahl", // German translation
|
|
options: ["Option 1", "Option 2"], // Translated options
|
|
},
|
|
multiSelectQuestion: {
|
|
question: "Dies ist meine Mehrfachauswahlfrage", // German translation
|
|
description: "Dies ist die Beschreibung zur Mehrfachauswahl", // German translation
|
|
options: ["Option 1", "Option 2", "Option 3"], // Translated options
|
|
},
|
|
ratingQuestion: {
|
|
question: "Dies ist meine Bewertungsfrage", // German translation
|
|
description: "Dies ist die Beschreibung zur Bewertung", // German translation
|
|
lowLabel: "Mein unteres Label", // German translation
|
|
highLabel: "Mein oberes Label", // German translation
|
|
},
|
|
npsQuestion: {
|
|
question: "Dies ist meine NPS-Frage", // German translation
|
|
lowLabel: "Mein unteres Label", // German translation
|
|
highLabel: "Mein oberes Label", // German translation
|
|
},
|
|
ctaQuestion: {
|
|
question: "Dies ist meine CTA-Frage", // German translation
|
|
buttonLabel: "Mein Knopfetikett", // German translation
|
|
},
|
|
consentQuestion: {
|
|
question: "Dies ist meine Zustimmungsfrage", // German translation
|
|
checkboxLabel: "Mein Kontrollkästchen-Label", // German translation
|
|
},
|
|
pictureSelectQuestion: {
|
|
question: "Dies ist meine Bildauswahlfrage", // German translation
|
|
description: "Dies ist die Beschreibung zur Bildauswahl", // German translation
|
|
},
|
|
fileUploadQuestion: {
|
|
question: "Dies ist meine Datei-Upload-Frage", // German translation
|
|
},
|
|
dateQuestion: {
|
|
question: "Dies ist date question", // German translation
|
|
},
|
|
calQuestion: {
|
|
question: "Dies ist cal question", // German translation
|
|
},
|
|
matrix: {
|
|
question: "Wie hoch würden Sie diese Blumen bewerten?",
|
|
description: "0: Überhaupt nicht, 3: Ich liebe es",
|
|
rows: ["Rose", "Sunflower", "Hibiscus"],
|
|
columns: ["0", "1", "2", "3"],
|
|
},
|
|
addressQuestion: {
|
|
question: "Wo wohnst du ?",
|
|
},
|
|
thankYouCard: {
|
|
headline: "Dies ist meine Dankeskarte Überschrift!", // German translation
|
|
description: "Dies ist meine Beschreibung zur Dankeskarte!", // German translation
|
|
buttonLabel: "Erstellen Sie Ihre eigene Umfrage",
|
|
},
|
|
},
|
|
};
|
|
|
|
export type CreateSurveyParams = typeof surveys.createAndSubmit;
|
|
|
|
export const actions = {
|
|
create: {
|
|
noCode: {
|
|
cssSelector: {
|
|
name: "Create Action (CSS Selector)",
|
|
description: "This is my Create Action (CSS Selector)",
|
|
selector: ".my-custom-class",
|
|
},
|
|
pageURL: {
|
|
name: "Create Action (Page URL)",
|
|
description: "This is my Create Action (Page URL)",
|
|
matcher: {
|
|
label: "Contains",
|
|
value: "custom-url",
|
|
},
|
|
testURL: "http://localhost:3000/custom-url",
|
|
},
|
|
innerText: {
|
|
name: "Create Action (Inner Text)",
|
|
description: "This is my Create Action (Inner Text)",
|
|
innerText: "Download",
|
|
},
|
|
},
|
|
code: {
|
|
name: "Create Action (Code)",
|
|
description: "This is my Create Action (Code)",
|
|
key: "Create Action (Code)",
|
|
},
|
|
},
|
|
edit: {
|
|
noCode: {
|
|
cssSelector: {
|
|
name: "Edit Action (CSS Selector)",
|
|
description: "This is my Edit Action (CSS Selector)",
|
|
selector: ".my-custom-class-edited",
|
|
},
|
|
pageURL: {
|
|
name: "Edit Action (Page URL)",
|
|
description: "This is my Edit Action (Page URL)",
|
|
matcher: {
|
|
label: "Starts with",
|
|
value: "custom-url0-edited",
|
|
},
|
|
testURL: "http://localhost:3000/custom-url",
|
|
},
|
|
innerText: {
|
|
name: "Edit Action (Inner Text)",
|
|
description: "This is my Edit Action (Inner Text)",
|
|
innerText: "Download Edited",
|
|
},
|
|
},
|
|
code: {
|
|
description: "This is my Edit Action (Code)",
|
|
},
|
|
},
|
|
delete: {
|
|
noCode: {
|
|
name: "Delete Action (CSS Selector)",
|
|
description: "This is my Delete Action (CSS Selector)",
|
|
selector: ".my-custom-class-deleted",
|
|
},
|
|
code: {
|
|
name: "Delete Action (Code)",
|
|
description: "This is my Delete Action (Code)",
|
|
},
|
|
},
|
|
};
|
|
|
|
export const invites = {
|
|
addMember: {
|
|
name: "Organization User 2",
|
|
email: "organization2@formbricks.com",
|
|
},
|
|
};
|