Skip to content

Commit

Permalink
Add ui-tests for diff and change ui-tests names and descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaudinFlorence committed Sep 7, 2023
1 parent 84272ab commit a87e263
Show file tree
Hide file tree
Showing 42 changed files with 362 additions and 11 deletions.
File renamed without changes.
57 changes: 57 additions & 0 deletions ui-tests/data/diff_test1/left.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "2d47bfe2-d91d-4f72-9426-1885c4edb5a9",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"x = np.arange(0, 2, 0.1)\n",
"y = np.exp(x)\n",
"plt.plot(x,y)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b5b285e4",
"metadata": {},
"outputs": [],
"source": [
"# one comment"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e3ab7a01",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
57 changes: 57 additions & 0 deletions ui-tests/data/diff_test2/center.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "2d47bfe2-d91d-4f72-9426-1885c4edb5a9",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"x = np.arange(0, 2, 0.1)\n",
"y = np.exp(x)\n",
"plt.plot(x,y)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b5b285e4",
"metadata": {},
"outputs": [],
"source": [
"# comment"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e3ab7a01",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
File renamed without changes.
58 changes: 58 additions & 0 deletions ui-tests/data/diff_test3/center.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "eabfe4e0-d646-4d09-95a4-09ee3d030db6",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"\n",
"def gaussian(x, a, b, c):\n",
" #calculate a gaussian\n",
" return a * np.exp(-b * (x-c)**2)\n",
"\n",
"def sinus ():\n",
" # Here you can see a sinus function\n",
" # Let's keep on adding lines\n",
" # And lines\n",
" nx = 100\n",
" x = np.linspace(-5.0, 5.0, nx)\n",
" y = np.sin(x)\n",
" return x, y\n",
"\n",
"def noisy_gaussian():\n",
" # gaussian array y in interval -5 <= x <= 5\n",
" nx = 100\n",
" x = np.linspace(-5.0, 5.0, nx)\n",
" y = gaussian(x, a=2.0, b=0.5, c=1.5)\n",
" noise = np.random.normal(0.0, 0.2, nx)\n",
" y += noise\n",
" return x, y"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
50 changes: 50 additions & 0 deletions ui-tests/data/diff_test3/left.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "2d47bfe2-d91d-4f72-9426-1885c4edb5a9",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib inline\n",
"%this is a comment\n",
"\n",
"def gaussian(x, a, b, c):\n",
" return a * np.exp(-b * (x-c)**2)\n",
"\n",
"def noisy_gaussian():\n",
" # gaussian array y in interval -5 <= x <= 5\n",
" nx = 100\n",
" x = np.linspace(-5.0, 5.0, nx)\n",
" y = gaussian(x, a=2.0, b=0.5, c=1.5)\n",
" noise = np.random.normal(0.0, 0.2, nx)\n",
" y += noise\n",
" return x, y"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
39 changes: 39 additions & 0 deletions ui-tests/data/merge_test1/center.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "eabfe4e0-d646-4d09-95a4-09ee3d030db6",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"x = np.arange(0, 2, 0.1)\n",
"y = np.exp(x)\n",
"plt.plot(x,y)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
File renamed without changes.
File renamed without changes.
39 changes: 39 additions & 0 deletions ui-tests/data/merge_test2/center.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "eabfe4e0-d646-4d09-95a4-09ee3d030db6",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"x = np.arange(0, 2, 0.1)\n",
"y = np.exp(x)\n",
"plt.plot(x,y)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ui-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Nbdime Integration Tests",
"private": true,
"scripts": {
"start": "nbmerge-web -p 41000 data/default/center.ipynb data/default/left.ipynb data/default/right.ipynb ",
"start": "nbmerge-web -p 41000 data/center.ipynb data/left.ipynb data/right.ipynb ",
"test": "npx playwright test",
"test:update": "npx playwright test --update-snapshots",
"playwright": "npx playwright"
Expand Down
16 changes: 16 additions & 0 deletions ui-tests/tests/nbdime-diff-test1.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { expect, test } from '@playwright/test';

test.beforeEach( async ({ page }) => {

await page.goto('http://localhost:41000/diff');
await page.locator('#diff-remote').fill('data/diff_test1/left.ipynb');
await page.locator('#diff-base').fill('data/diff_test1/center.ipynb');
await page.getByRole('button', { name: 'Diff files' }).click();
})

/* added cells between left and right editors */
test.describe('diff test1', () => {
test('take a snapshot at opening', async ({ page }) => {
expect(await page.locator('#main').screenshot()).toMatchSnapshot();

Check failure on line 14 in ui-tests/tests/nbdime-diff-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.10)

tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening

1) tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts-snapshots/diff-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test1', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts:14:54

Check failure on line 14 in ui-tests/tests/nbdime-diff-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.11)

tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening

1) tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts-snapshots/diff-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test1', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts:14:54

Check failure on line 14 in ui-tests/tests/nbdime-diff-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.9)

tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening

1) tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts-snapshots/diff-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test1', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts:14:54

Check failure on line 14 in ui-tests/tests/nbdime-diff-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.8)

tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening

1) tests/nbdime-diff-test1.spec.ts:13:7 › diff test1 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts-snapshots/diff-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test1', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test1.spec.ts:14:54
});
});
16 changes: 16 additions & 0 deletions ui-tests/tests/nbdime-diff-test2.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { expect, test } from '@playwright/test';

test.beforeEach( async ({ page }) => {

await page.goto('http://localhost:41000/diff');
await page.locator('#diff-remote').fill('data/diff_test2/left.ipynb');
await page.locator('#diff-base').fill('data/diff_test2/center.ipynb');
await page.getByRole('button', { name: 'Diff files' }).click();
})

/* deleted cells between left and right editors */
test.describe('diff test2', () => {
test('take a snapshot at opening', async ({ page }) => {
expect(await page.locator('#main').screenshot()).toMatchSnapshot();

Check failure on line 14 in ui-tests/tests/nbdime-diff-test2.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.10)

tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening

2) tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts-snapshots/diff-test2-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test2', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts:14:52

Check failure on line 14 in ui-tests/tests/nbdime-diff-test2.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.11)

tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening

2) tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts-snapshots/diff-test2-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test2', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts:14:52

Check failure on line 14 in ui-tests/tests/nbdime-diff-test2.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.9)

tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening

2) tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts-snapshots/diff-test2-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test2', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts:14:52

Check failure on line 14 in ui-tests/tests/nbdime-diff-test2.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.8)

tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening

2) tests/nbdime-diff-test2.spec.ts:13:7 › diff test2 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts-snapshots/diff-test2-take-a-snapshot-at-opening-1-linux.png, writing actual. 12 | test.describe('diff test2', () => { 13 | test('take a snapshot at opening', async ({ page }) => { > 14 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 15 | }); 16 | }); 17 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test2.spec.ts:14:52
});
});
17 changes: 17 additions & 0 deletions ui-tests/tests/nbdime-diff-test3.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { expect, test } from '@playwright/test';

test.beforeEach( async ({ page }) => {

await page.goto('http://localhost:41000/diff');
await page.locator('#diff-remote').fill('data/diff_test3/left.ipynb');
await page.locator('#diff-base').fill('data/diff_test3/center.ipynb');
await page.getByRole('button', { name: 'Diff files' }).click();
})


/* notebooks with spacers */
test.describe('diff test3', () => {
test('take a snapshot at opening', async ({ page }) => {
expect(await page.locator('#main').screenshot()).toMatchSnapshot();

Check failure on line 15 in ui-tests/tests/nbdime-diff-test3.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.10)

tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening

3) tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts-snapshots/diff-test3-take-a-snapshot-at-opening-1-linux.png, writing actual. 13 | test.describe('diff test3', () => { 14 | test('take a snapshot at opening', async ({ page }) => { > 15 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 16 | }); 17 | }); 18 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts:15:52

Check failure on line 15 in ui-tests/tests/nbdime-diff-test3.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.11)

tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening

3) tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts-snapshots/diff-test3-take-a-snapshot-at-opening-1-linux.png, writing actual. 13 | test.describe('diff test3', () => { 14 | test('take a snapshot at opening', async ({ page }) => { > 15 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 16 | }); 17 | }); 18 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts:15:52

Check failure on line 15 in ui-tests/tests/nbdime-diff-test3.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.9)

tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening

3) tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts-snapshots/diff-test3-take-a-snapshot-at-opening-1-linux.png, writing actual. 13 | test.describe('diff test3', () => { 14 | test('take a snapshot at opening', async ({ page }) => { > 15 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 16 | }); 17 | }); 18 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts:15:52

Check failure on line 15 in ui-tests/tests/nbdime-diff-test3.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.8)

tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening

3) tests/nbdime-diff-test3.spec.ts:14:7 › diff test3 › take a snapshot at opening ──────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts-snapshots/diff-test3-take-a-snapshot-at-opening-1-linux.png, writing actual. 13 | test.describe('diff test3', () => { 14 | test('take a snapshot at opening', async ({ page }) => { > 15 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 16 | }); 17 | }); 18 | at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-diff-test3.spec.ts:15:52
});
});
11 changes: 6 additions & 5 deletions ui-tests/tests/nbdime-merge-test1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ import { expect, test } from '@playwright/test';
test.beforeEach( async ({ page }) => {

await page.goto('http://localhost:41000/merge');
await page.locator('#merge-local').fill('data/default/test1/left.ipynb');
await page.locator('#merge-base').fill('data/default/test1/center.ipynb');
await page.locator('#merge-remote').fill('data/default/test1/right.ipynb');
await page.locator('#merge-local').fill('data/merge_test1/left.ipynb');
await page.locator('#merge-base').fill('data/merge_test1/center.ipynb');
await page.locator('#merge-remote').fill('data/merge_test1/right.ipynb');
await page.getByRole('button', { name: 'Merge files' }).click();
})

test.describe('Test1: test for the merge application for notebooks of same length and 1 conflict', () => {
/* notebooks of same length and 1 conflict*/
test.describe('merge test1', () => {

test('open an example and take a snapshot', async ({ page }) => {
test('take a snapshot at opening', async ({ page }) => {
await expect.soft(page.getByText('➭')).toHaveCount(12)
expect(await page.locator('#main').screenshot()).toMatchSnapshot();

Check failure on line 18 in ui-tests/tests/nbdime-merge-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.10)

tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening

4) tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening ────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts-snapshots/merge-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 16 | test('take a snapshot at opening', async ({ page }) => { 17 | await expect.soft(page.getByText('➭')).toHaveCount(12) > 18 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 19 | }); 20 | 21 | test('choose left version for conflict', async ({ page }) => { at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts:18:52

Check failure on line 18 in ui-tests/tests/nbdime-merge-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.11)

tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening

4) tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening ────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts-snapshots/merge-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 16 | test('take a snapshot at opening', async ({ page }) => { 17 | await expect.soft(page.getByText('➭')).toHaveCount(12) > 18 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 19 | }); 20 | 21 | test('choose left version for conflict', async ({ page }) => { at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts:18:52

Check failure on line 18 in ui-tests/tests/nbdime-merge-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.9)

tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening

4) tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening ────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts-snapshots/merge-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 16 | test('take a snapshot at opening', async ({ page }) => { 17 | await expect.soft(page.getByText('➭')).toHaveCount(12) > 18 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 19 | }); 20 | 21 | test('choose left version for conflict', async ({ page }) => { at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts:18:52

Check failure on line 18 in ui-tests/tests/nbdime-merge-test1.spec.ts

View workflow job for this annotation

GitHub Actions / ui-test (ubuntu-22.04, 3.8)

tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening

4) tests/nbdime-merge-test1.spec.ts:16:5 › merge test1 › take a snapshot at opening ────────────── Error: A snapshot doesn't exist at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts-snapshots/merge-test1-take-a-snapshot-at-opening-1-linux.png, writing actual. 16 | test('take a snapshot at opening', async ({ page }) => { 17 | await expect.soft(page.getByText('➭')).toHaveCount(12) > 18 | expect(await page.locator('#main').screenshot()).toMatchSnapshot(); | ^ 19 | }); 20 | 21 | test('choose left version for conflict', async ({ page }) => { at /home/runner/work/nbdime/nbdime/ui-tests/tests/nbdime-merge-test1.spec.ts:18:52
});
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit a87e263

Please sign in to comment.