mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
fix: removes new session action creation (#4734)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
This commit is contained in:
@@ -82,15 +82,6 @@ export const createUsersFixture = (page: Page, workerInfo: TestInfo) => {
|
||||
create: [
|
||||
{
|
||||
type: "development",
|
||||
actionClasses: {
|
||||
create: [
|
||||
{
|
||||
name: "New Session",
|
||||
description: "Gets fired when a new session is created",
|
||||
type: "automatic",
|
||||
},
|
||||
],
|
||||
},
|
||||
attributeKeys: {
|
||||
create: [
|
||||
{
|
||||
@@ -104,15 +95,6 @@ export const createUsersFixture = (page: Page, workerInfo: TestInfo) => {
|
||||
},
|
||||
{
|
||||
type: "production",
|
||||
actionClasses: {
|
||||
create: [
|
||||
{
|
||||
name: "New Session",
|
||||
description: "Gets fired when a new session is created",
|
||||
type: "automatic",
|
||||
},
|
||||
],
|
||||
},
|
||||
attributeKeys: {
|
||||
create: [
|
||||
{
|
||||
|
||||
@@ -78,7 +78,12 @@ test.describe("JS Package Test", async () => {
|
||||
|
||||
await page.locator("#whenToSendCardTrigger").click();
|
||||
await page.getByRole("button", { name: "Add action" }).click();
|
||||
await page.getByText("New SessionGets fired when a").click();
|
||||
|
||||
await page.getByRole("button", { name: "Capture new action" }).click();
|
||||
await page.getByPlaceholder("E.g. Clicked Download").click();
|
||||
await page.getByPlaceholder("E.g. Clicked Download").fill("New Session");
|
||||
await page.getByText("Page View").click();
|
||||
await page.getByRole("button", { name: "Create action" }).click();
|
||||
|
||||
await page.locator("#recontactOptionsCardTrigger").click();
|
||||
await page.locator("label").filter({ hasText: "Keep showing while conditions" }).click();
|
||||
|
||||
@@ -164,15 +164,6 @@ export const createEnvironment = async (
|
||||
type: environmentInput.type || "development",
|
||||
project: { connect: { id: projectId } },
|
||||
appSetupCompleted: environmentInput.appSetupCompleted || false,
|
||||
actionClasses: {
|
||||
create: [
|
||||
{
|
||||
name: "New Session",
|
||||
description: "Gets fired when a new session is created",
|
||||
type: "automatic",
|
||||
},
|
||||
],
|
||||
},
|
||||
attributeKeys: {
|
||||
create: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user