mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
chore(editor): Drop rag starter callout experiment flag (no-changelog) (#18039)
This commit is contained in:
@@ -535,6 +535,10 @@ describe('Node Creator', () => {
|
||||
|
||||
// Loop over all vector stores and check if they have the three actions
|
||||
vectorStores.each((_i, vectorStore) => {
|
||||
if (vectorStore.includes('RAG starter template')) {
|
||||
return;
|
||||
}
|
||||
|
||||
nodeCreatorFeature.getters.getCreatorItem(vectorStore).click();
|
||||
actions.forEach((action) => {
|
||||
nodeCreatorFeature.getters.getCreatorItem(action).should('be.visible').realHover();
|
||||
|
||||
@@ -1,22 +1,10 @@
|
||||
import { overrideFeatureFlag } from '../composables/featureFlags';
|
||||
import { openNodeCreator, searchBar } from '../composables/nodeCreator';
|
||||
import { addNodeToCanvas, navigateToNewWorkflowPage } from '../composables/workflow';
|
||||
|
||||
describe('RAG callout experiment', () => {
|
||||
describe('NDV callout', () => {
|
||||
it('should not show callout if experiment is control', () => {
|
||||
overrideFeatureFlag('033_rag_template', 'control');
|
||||
|
||||
navigateToNewWorkflowPage();
|
||||
|
||||
addNodeToCanvas('Zep Vector Store', true, true, 'Add documents to vector store');
|
||||
|
||||
cy.contains('Tip: Get a feel for vector stores in n8n with our').should('not.exist');
|
||||
});
|
||||
|
||||
it('should callout is variant and open on click', () => {
|
||||
it('should show callout and open template on click', () => {
|
||||
cy.intercept('workflows/templates/rag-starter-template?fromJson=true');
|
||||
overrideFeatureFlag('033_rag_template', 'variant');
|
||||
|
||||
navigateToNewWorkflowPage();
|
||||
|
||||
@@ -37,20 +25,8 @@ describe('RAG callout experiment', () => {
|
||||
});
|
||||
});
|
||||
describe('search callout', () => {
|
||||
it('should not show callout if experiment is control', () => {
|
||||
overrideFeatureFlag('033_rag_template', 'control');
|
||||
|
||||
navigateToNewWorkflowPage();
|
||||
|
||||
openNodeCreator();
|
||||
searchBar().type('rag');
|
||||
|
||||
cy.contains('RAG starter template').should('not.exist');
|
||||
});
|
||||
|
||||
it('should should callout is variant and open on click', () => {
|
||||
it('should show callout and open template on click', () => {
|
||||
cy.intercept('workflows/templates/rag-starter-template?fromJson=true');
|
||||
overrideFeatureFlag('033_rag_template', 'variant');
|
||||
|
||||
navigateToNewWorkflowPage();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user