mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
* test: Add more data mapping tests * test: add tests for preview mapping * test: update wording * test: add more tests * test: fix up prev node test * test: stop popup * test: add mapping test for paths * test: revert back param changes * test: fix mapping tests * test: reset db * test: fix up mapping tests * test: fix up mapping tests * test: update tests to be more stable * chore: clean up unused command * fix: fix up before unload bug * fix: fix data transformation tests * test: fix up flaky webhook tests * test: fix up flaky webhook tests * test: fix up flaky dt tests
16 lines
354 B
TypeScript
16 lines
354 B
TypeScript
import { BasePage } from './base';
|
|
|
|
export class CanvasNode extends BasePage {
|
|
getters = {
|
|
nodes: () => cy.getByTestId('canvas-node'),
|
|
nodeByName: (nodeName: string) =>
|
|
this.getters.nodes().filter(`:contains("${nodeName}")`),
|
|
};
|
|
|
|
actions = {
|
|
openNode: (nodeName: string) => {
|
|
this.getters.nodeByName(nodeName).eq(0).dblclick();
|
|
},
|
|
};
|
|
}
|