fix: implement admin permissions #1431
Annotations
11 errors and 1 notice
pwa/tests/admin/BookCreate.spec.ts#L4
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─
Test timeout of 45000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe("Create a book @admin", () => {
> 4 | test.beforeEach(async ({ bookPage, page }) => {
| ^
5 | await bookPage.gotoList();
6 | await page.getByRole("link", { name: "Create", exact: true }).click();
7 | });
at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:4:8
|
pwa/tests/admin/BookCreate.spec.ts#L6
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─
Error: locator.click: Test timeout of 45000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Create', exact: true })
4 | test.beforeEach(async ({ bookPage, page }) => {
5 | await bookPage.gotoList();
> 6 | await page.getByRole("link", { name: "Create", exact: true }).click();
| ^
7 | });
8 |
9 | test("I can create a book @Write", async ({ bookPage, page }) => {
at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:6:67
|
pwa/tests/admin/BookCreate.spec.ts#L4
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe("Create a book @admin", () => {
> 4 | test.beforeEach(async ({ bookPage, page }) => {
| ^
5 | await bookPage.gotoList();
6 | await page.getByRole("link", { name: "Create", exact: true }).click();
7 | });
at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:4:8
|
pwa/tests/admin/BookCreate.spec.ts#L6
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 45000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Create', exact: true })
4 | test.beforeEach(async ({ bookPage, page }) => {
5 | await bookPage.gotoList();
> 6 | await page.getByRole("link", { name: "Create", exact: true }).click();
| ^
7 | });
8 |
9 | test("I can create a book @Write", async ({ bookPage, page }) => {
at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:6:67
|
pwa/tests/admin/BookEdit.spec.ts#L4
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ───────
Test timeout of 45000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe("Edit a book @admin", () => {
> 4 | test.beforeEach(async ({ bookPage, page }) => {
| ^
5 | await bookPage.gotoList();
6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click();
7 | });
at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:4:8
|
pwa/tests/admin/BookEdit.spec.ts#L6
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ───────
Error: locator.click: Test timeout of 45000ms exceeded.
Call log:
- waiting for locator('.datagrid-body tr').last().getByRole('link', { name: 'Edit', exact: true })
4 | test.beforeEach(async ({ bookPage, page }) => {
5 | await bookPage.gotoList();
> 6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click();
| ^
7 | });
8 |
9 | test("I can edit a book @Write", async ({ page }) => {
at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:6:101
|
pwa/tests/admin/BookEdit.spec.ts#L4
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe("Edit a book @admin", () => {
> 4 | test.beforeEach(async ({ bookPage, page }) => {
| ^
5 | await bookPage.gotoList();
6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click();
7 | });
at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:4:8
|
pwa/tests/admin/BookEdit.spec.ts#L6
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 45000ms exceeded.
Call log:
- waiting for locator('.datagrid-body tr').last().getByRole('link', { name: 'Edit', exact: true })
4 | test.beforeEach(async ({ bookPage, page }) => {
5 | await bookPage.gotoList();
> 6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click();
| ^
7 | });
8 |
9 | test("I can edit a book @Write", async ({ page }) => {
at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:6:101
|
pwa/tests/admin/BookEdit.spec.ts#L4
3) [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ────
Test timeout of 45000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe("Edit a book @admin", () => {
> 4 | test.beforeEach(async ({ bookPage, page }) => {
| ^
5 | await bookPage.gotoList();
6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click();
7 | });
at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:4:8
|
pwa/tests/admin/BookEdit.spec.ts#L6
3) [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ────
Error: locator.click: Test timeout of 45000ms exceeded.
Call log:
- waiting for locator('.datagrid-body tr').last().getByRole('link', { name: 'Edit', exact: true })
4 | test.beforeEach(async ({ bookPage, page }) => {
5 | await bookPage.gotoList();
> 6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click();
| ^
7 | });
8 |
9 | test("I can edit a book @Write", async ({ page }) => {
at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:6:101
|
|
4 failed
[chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ──
[chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ────────
[chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ─────
[chromium] › admin/BooksList.spec.ts:91:7 › Admin books list @admin › I can remove a book from the list @Write
7 passed (6.4m)
|
This job failed
Loading