mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
ci: Hide the github button in e2e tests (no-changelog) (#11747)
This commit is contained in:
committed by
GitHub
parent
fd3254d587
commit
fb123b44af
@@ -23,7 +23,6 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should create multiple new workflows using add workflow button', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
[...Array(multipleWorkflowsCount).keys()].forEach(() => {
|
||||
cy.visit(WorkflowsPage.url);
|
||||
WorkflowsPage.getters.createWorkflowButton().click();
|
||||
@@ -36,7 +35,6 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should search for a workflow', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
// One Result
|
||||
WorkflowsPage.getters.searchBar().type('Empty State Card Workflow');
|
||||
WorkflowsPage.getters.workflowCards().should('have.length', 1);
|
||||
@@ -62,7 +60,6 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should delete all the workflows', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
WorkflowsPage.getters.workflowCards().should('have.length', multipleWorkflowsCount + 1);
|
||||
|
||||
WorkflowsPage.getters.workflowCards().each(($el) => {
|
||||
@@ -78,7 +75,6 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should respect tag querystring filter when listing workflows', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
WorkflowsPage.getters.newWorkflowButtonCard().click();
|
||||
|
||||
cy.createFixtureWorkflow('Test_workflow_2.json', getUniqueWorkflowName('My New Workflow'));
|
||||
|
||||
@@ -53,7 +53,6 @@ describe('Workflow tags', () => {
|
||||
});
|
||||
|
||||
it('should detach a tag inline by clicking on X on tag pill', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
wf.getters.createTagButton().click();
|
||||
wf.actions.addTags(TEST_TAGS);
|
||||
wf.getters.nthTagPill(1).click();
|
||||
@@ -74,7 +73,6 @@ describe('Workflow tags', () => {
|
||||
});
|
||||
|
||||
it('should not show non existing tag as a selectable option', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
const NON_EXISTING_TAG = 'My Test Tag';
|
||||
|
||||
wf.getters.createTagButton().click();
|
||||
|
||||
@@ -514,7 +514,6 @@ describe('Execution', () => {
|
||||
});
|
||||
|
||||
it('should send proper payload for node rerun', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.createFixtureWorkflow('Multiple_trigger_node_rerun.json', 'Multiple trigger node rerun');
|
||||
|
||||
workflowPage.getters.zoomToFitButton().click();
|
||||
|
||||
@@ -101,7 +101,6 @@ describe('Workflow Executions', () => {
|
||||
});
|
||||
|
||||
it('should show workflow data in executions tab after hard reload and modify name and tags', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
executionsTab.actions.switchToExecutionsTab();
|
||||
checkMainHeaderELements();
|
||||
workflowPage.getters.saveButton().find('button').should('not.exist');
|
||||
|
||||
@@ -182,7 +182,6 @@ describe('Template credentials setup', () => {
|
||||
});
|
||||
|
||||
it('should fill credentials from workflow editor', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
templateCredentialsSetupPage.visitTemplateCredentialSetupPage(testTemplate.id);
|
||||
templateCredentialsSetupPage.getters.skipLink().click();
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ describe('AI Assistant::enabled', () => {
|
||||
});
|
||||
|
||||
it('renders placeholder UI', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
aiAssistant.getters.askAssistantFloatingButton().should('be.visible');
|
||||
aiAssistant.getters.askAssistantFloatingButton().click();
|
||||
aiAssistant.getters.askAssistantChat().should('be.visible');
|
||||
|
||||
@@ -66,7 +66,6 @@ describe('NDV', () => {
|
||||
});
|
||||
|
||||
it('should disconect Switch outputs if rules order was changed', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.createFixtureWorkflow('NDV-test-switch_reorder.json', 'NDV test switch reorder');
|
||||
workflowPage.actions.zoomToFit();
|
||||
|
||||
@@ -233,7 +232,6 @@ describe('NDV', () => {
|
||||
ndv.getters.outputPanel().find('[class*=_pagination]').should('exist');
|
||||
});
|
||||
it('should display large schema', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.createFixtureWorkflow(
|
||||
'Test_workflow_schema_test_pinned_data.json',
|
||||
'NDV test schema view 2',
|
||||
@@ -720,7 +718,6 @@ describe('NDV', () => {
|
||||
});
|
||||
|
||||
it('Should open appropriate node creator after clicking on connection hint link', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
const nodeCreator = new NodeCreator();
|
||||
const hintMapper = {
|
||||
Memory: 'AI Nodes',
|
||||
|
||||
Reference in New Issue
Block a user