mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
ci: Remove unused canvas v1 related code from e2e tests (#15704)
This commit is contained in:
committed by
GitHub
parent
eca282d09c
commit
e9dc66b3ff
@@ -1,3 +1,4 @@
|
||||
import { overrideFeatureFlag } from '../composables/featureFlags';
|
||||
import planData from '../fixtures/Plan_data_opt_in_trial.json';
|
||||
import {
|
||||
MainSidebar,
|
||||
@@ -73,10 +74,7 @@ describe('Cloud', () => {
|
||||
|
||||
describe('Easy AI workflow experiment', () => {
|
||||
it('should not show option to take you to the easy AI workflow if experiment is control', () => {
|
||||
window.localStorage.setItem(
|
||||
'N8N_EXPERIMENT_OVERRIDES',
|
||||
JSON.stringify({ '026_easy_ai_workflow': 'control' }),
|
||||
);
|
||||
overrideFeatureFlag('026_easy_ai_workflow', 'control');
|
||||
|
||||
cy.visit(workflowsPage.url);
|
||||
|
||||
@@ -84,10 +82,7 @@ describe('Cloud', () => {
|
||||
});
|
||||
|
||||
it('should show option to take you to the easy AI workflow if experiment is variant', () => {
|
||||
window.localStorage.setItem(
|
||||
'N8N_EXPERIMENT_OVERRIDES',
|
||||
JSON.stringify({ '026_easy_ai_workflow': 'variant' }),
|
||||
);
|
||||
overrideFeatureFlag('026_easy_ai_workflow', 'variant');
|
||||
|
||||
cy.visit(workflowsPage.url);
|
||||
|
||||
@@ -95,10 +90,7 @@ describe('Cloud', () => {
|
||||
});
|
||||
|
||||
it('should show default instructions if free AI credits experiment is control', () => {
|
||||
window.localStorage.setItem(
|
||||
'N8N_EXPERIMENT_OVERRIDES',
|
||||
JSON.stringify({ '026_easy_ai_workflow': 'variant' }),
|
||||
);
|
||||
overrideFeatureFlag('026_easy_ai_workflow', 'variant');
|
||||
|
||||
cy.visit(workflowsPage.url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user