Skip to content

Commit

Permalink
chore: chore chore chore gore more lore door
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Zedel <[email protected]>
  • Loading branch information
mzedel committed Oct 26, 2023
1 parent f32abf3 commit c2daae7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/e2e_tests/integration/03-files.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ test.describe('Files', () => {
await page.getByPlaceholder(/select tags/i).fill('foo,');
const releasesNote = await page.getByText(/There are no Releases*/i);
releasesNote.waitFor({ timeout: timeouts.default });
expect(await releasesNote.isVisible()).toBeTruthy();
await page.getByText(/mender-demo-artifact*/i).waitFor({ timeout: timeouts.default, state: 'detached' });
await page.getByText(/Clear filter/i).click();
await page.waitForSelector('text=/mender-demo-artifact*/i');
expect(await page.getByText(releaseTag.toLowerCase()).isVisible()).toBeTruthy();
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e_tests/integration/05-deviceDetails.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ test.describe('Device details', () => {
await page.getByLabel(/attribute/i).fill(rootfs);
const nameInput = await page.getByLabel(/value/i);
await nameInput.fill(demoDeviceName);
await page.waitForTimeout(timeouts.oneSecond);
await nameInput.press('Enter');
await page.waitForTimeout(timeouts.default);
expect(await page.getByRole('button', { name: `${rootfs} = ${demoDeviceName}` }).isVisible()).toBeTruthy();
expect(await page.getByRole('button', { name: `${rootfs} = ${demoDeviceName}` }).isVisible({ timeout: timeouts.default })).toBeTruthy();
await page.waitForSelector('.deviceListItem');
expect(await page.getByText('1-1 of 1').isVisible()).toBeTruthy();
await page.getByText(/clear filter/i).click();
Expand Down

0 comments on commit c2daae7

Please sign in to comment.