Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Oct 2, 2024
1 parent 3d61de3 commit a372106
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test.describe('ActionBar', () => {

test('works', async ({page}) => {
await tuiGoto(page, DemoRoute.ActionBar);
const example = page.locator('#base');
const example = page.locator('#size--m');
const showActionBarButton = example.locator('label').first();

await showActionBarButton.click();

Check failure on line 25 in projects/demo-playwright/tests/kit/action-bar/action-bar.mobile.spec.ts

View workflow job for this annotation

GitHub Actions / playwright / (6 of 9)

[chromium] › tests/kit/action-bar/action-bar.mobile.spec.ts:20:9 › ActionBar › works

1) [chromium] › tests/kit/action-bar/action-bar.mobile.spec.ts:20:9 › ActionBar › works ────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('#size--m').locator('label').first() 23 | const showActionBarButton = example.locator('label').first(); 24 | > 25 | await showActionBarButton.click(); | ^ 26 | const actionBarExample = page.locator('tui-action-bar'); 27 | 28 | await expect(actionBarExample).toHaveScreenshot('01-actions-bar-mobile.png'); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/action-bar/action-bar.mobile.spec.ts:25:35

Check failure on line 25 in projects/demo-playwright/tests/kit/action-bar/action-bar.mobile.spec.ts

View workflow job for this annotation

GitHub Actions / playwright / (6 of 9)

[chromium] › tests/kit/action-bar/action-bar.mobile.spec.ts:20:9 › ActionBar › works

1) [chromium] › tests/kit/action-bar/action-bar.mobile.spec.ts:20:9 › ActionBar › works ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('#size--m').locator('label').first() 23 | const showActionBarButton = example.locator('label').first(); 24 | > 25 | await showActionBarButton.click(); | ^ 26 | const actionBarExample = page.locator('tui-action-bar'); 27 | 28 | await expect(actionBarExample).toHaveScreenshot('01-actions-bar-mobile.png'); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/action-bar/action-bar.mobile.spec.ts:25:35

Check failure on line 25 in projects/demo-playwright/tests/kit/action-bar/action-bar.mobile.spec.ts

View workflow job for this annotation

GitHub Actions / playwright / (6 of 9)

[chromium] › tests/kit/action-bar/action-bar.mobile.spec.ts:20:9 › ActionBar › works

1) [chromium] › tests/kit/action-bar/action-bar.mobile.spec.ts:20:9 › ActionBar › works ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('#size--m').locator('label').first() 23 | const showActionBarButton = example.locator('label').first(); 24 | > 25 | await showActionBarButton.click(); | ^ 26 | const actionBarExample = page.locator('tui-action-bar'); 27 | 28 | await expect(actionBarExample).toHaveScreenshot('01-actions-bar-mobile.png'); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/action-bar/action-bar.mobile.spec.ts:25:35
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test.describe('ActionBar', () => {

test('works', async ({page}) => {
await tuiGoto(page, DemoRoute.ActionBar);
const example = page.locator('#base');
const example = page.locator('#size--m');
const showActionBarButton = example.locator('label').first();

await showActionBarButton.click();

Check failure on line 15 in projects/demo-playwright/tests/kit/action-bar/action-bar.spec.ts

View workflow job for this annotation

GitHub Actions / playwright / (6 of 9)

[chromium] › tests/kit/action-bar/action-bar.spec.ts:10:9 › ActionBar › works

2) [chromium] › tests/kit/action-bar/action-bar.spec.ts:10:9 › ActionBar › works ───────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('#size--m').locator('label').first() 13 | const showActionBarButton = example.locator('label').first(); 14 | > 15 | await showActionBarButton.click(); | ^ 16 | const actionBarExample = page.locator('tui-action-bar'); 17 | 18 | await expect(actionBarExample).toHaveScreenshot('01-actions-bar.png'); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/action-bar/action-bar.spec.ts:15:35

Check failure on line 15 in projects/demo-playwright/tests/kit/action-bar/action-bar.spec.ts

View workflow job for this annotation

GitHub Actions / playwright / (6 of 9)

[chromium] › tests/kit/action-bar/action-bar.spec.ts:10:9 › ActionBar › works

2) [chromium] › tests/kit/action-bar/action-bar.spec.ts:10:9 › ActionBar › works ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('#size--m').locator('label').first() 13 | const showActionBarButton = example.locator('label').first(); 14 | > 15 | await showActionBarButton.click(); | ^ 16 | const actionBarExample = page.locator('tui-action-bar'); 17 | 18 | await expect(actionBarExample).toHaveScreenshot('01-actions-bar.png'); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/action-bar/action-bar.spec.ts:15:35

Check failure on line 15 in projects/demo-playwright/tests/kit/action-bar/action-bar.spec.ts

View workflow job for this annotation

GitHub Actions / playwright / (6 of 9)

[chromium] › tests/kit/action-bar/action-bar.spec.ts:10:9 › ActionBar › works

2) [chromium] › tests/kit/action-bar/action-bar.spec.ts:10:9 › ActionBar › works ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('#size--m').locator('label').first() 13 | const showActionBarButton = example.locator('label').first(); 14 | > 15 | await showActionBarButton.click(); | ^ 16 | const actionBarExample = page.locator('tui-action-bar'); 17 | 18 | await expect(actionBarExample).toHaveScreenshot('01-actions-bar.png'); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/action-bar/action-bar.spec.ts:15:35
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,24 +141,31 @@
</tui-items-with-more>

<button
*ngIf="!isMobile()"
iconStart="@tui.send"
tuiButton
type="button"
[disabled]="expanded"
>
{{ isMobile() ? '' : 'Send' }}
Send
</button>
<button
*ngIf="!isMobile()"
iconStart="@tui.trash"
tuiButton
type="button"
[disabled]="expanded"
(click)="close()"
>
Delete
</button>

<button
*ngIf="isMobile()"
iconStart="@tui.send"
tuiIconButton
type="button"
>
Send
</button>
<button
*ngIf="isMobile()"
iconStart="@tui.ellipsis"
Expand Down

0 comments on commit a372106

Please sign in to comment.