Skip to content

Commit

Permalink
test: update e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonneyx committed Dec 19, 2024
1 parent ccd5189 commit e243d9c
Show file tree
Hide file tree
Showing 63 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/dendrogram.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('use Vertical as direction', async ({ page }) => {
await it(page, '/Dendrogram?direction=vertical&animation=false');
});
Expand Down
4 changes: 4 additions & 0 deletions tests/fishbone.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('use Decision as type', async ({ page }) => {
await it(page, '/Fishbone?type=decision');
});
Expand Down
4 changes: 4 additions & 0 deletions tests/flow-direction-graph.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('default flow direction graph', async ({ page }) => {
await it(page, '/UserFlowDirectionDefault?animation=false');
});
Expand Down
4 changes: 4 additions & 0 deletions tests/flow-graph.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('default flow graph', async ({ page }) => {
await it(page, '/FlowGraph?animation=false');
});
Expand Down
4 changes: 4 additions & 0 deletions tests/indented-tree.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('use Default as type', async ({ page }) => {
await it(page, '/IndentedTree?type=default');
});
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions tests/mind-map.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('use Default as type', async ({ page }) => {
await it(page, '/MindMap?type=default');
});
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
4 changes: 4 additions & 0 deletions tests/network-graph.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('language tree', async ({ page }) => {
await it(page, '/NetworkGraph');
});
Diff not rendered.
4 changes: 4 additions & 0 deletions tests/organization-chart.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { test } from '@playwright/test';
import { it } from './util';

test.beforeEach(async ({}, testInfo) => {
testInfo.snapshotSuffix = '';
});

test('default organization', async ({ page }) => {
await it(page, '/OrganizationChart?animation=false');
});
Expand Down
Diff not rendered.
Diff not rendered.

0 comments on commit e243d9c

Please sign in to comment.