Skip to content

Commit

Permalink
chore: chore chore chore gore more lore
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 9d4984d commit f32abf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/e2e_tests/integration/03-files.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ test.describe('Files', () => {
expect(await page.getByText(releaseTag.toLowerCase()).isVisible()).toBeTruthy();
await page.getByPlaceholder(/select tags/i).fill('foo,');
const releasesNote = await page.getByText(/There are no Releases*/i);
releasesNote.waitFor({ timeout: timeouts.oneSecond });
releasesNote.waitFor({ timeout: timeouts.default });
expect(await releasesNote.isVisible()).toBeTruthy();
await page.getByText(/Clear filter/i).click();
await page.waitForSelector('text=/mender-demo-artifact*/i');
expect(await page.getByText(releaseTag.toLowerCase()).isVisible()).toBeTruthy();
await page.getByPlaceholder(/select tags/i).fill(`${releaseTag.toLowerCase()},`);
await page.getByText(/mender-demo-artifact*/i).waitFor({ timeout: timeouts.oneSecond });
await page.getByText(/mender-demo-artifact*/i).waitFor({ timeout: timeouts.default });
expect(await releasesNote.isVisible()).toBeFalsy();
});

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e_tests/integration/05-deviceDetails.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test.describe('Device details', () => {
const nameInput = await page.getByLabel(/value/i);
await nameInput.fill(demoDeviceName);
await nameInput.press('Enter');
await page.waitForTimeout(timeouts.oneSecond);
await page.waitForTimeout(timeouts.default);
expect(await page.getByRole('button', { name: `${rootfs} = ${demoDeviceName}` }).isVisible()).toBeTruthy();
await page.waitForSelector('.deviceListItem');
expect(await page.getByText('1-1 of 1').isVisible()).toBeTruthy();
Expand Down

0 comments on commit f32abf3

Please sign in to comment.