mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
test: Refactor page objects and reuse locators (#19191)
This commit is contained in:
@@ -28,8 +28,8 @@ test.describe('Demo', () => {
|
||||
await n8n.demo.importWorkflow(workflowWithPinned);
|
||||
await expect(n8n.canvas.getCanvasNodes()).toHaveCount(2);
|
||||
await n8n.canvas.openNode('Webhook');
|
||||
await expect(n8n.ndv.getOutputTableHeaders().first()).toContainText('headers');
|
||||
await expect(n8n.ndv.getOutputTableCell(1, 3)).toContainText('dragons');
|
||||
await expect(n8n.ndv.outputPanel.getTableHeaders().first()).toContainText('headers');
|
||||
await expect(n8n.ndv.outputPanel.getTbodyCell(0, 3)).toContainText('dragons');
|
||||
});
|
||||
|
||||
test('can override theme to dark', async ({ n8n }) => {
|
||||
|
||||
Reference in New Issue
Block a user