Skip to content

Commit

Permalink
fixup! chore: Setup e2e tests for example and execute in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jontze committed Nov 2, 2024
1 parent d045133 commit 27c5b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ng-remote-config-example/e2e/app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test("Has JSON Viewer for 'config.json'", async ({ page }) => {
await page.goto('/');

expect(await page.locator('h2').first().innerText()).toContain('Config');
expect(await page.locator('app-editor').first().isVisible()).toBeTruthy();
await expect(page.locator('app-editor').first()).toBeVisible();
});

test('Has same config as in config.json', async ({ page, request }) => {
Expand All @@ -41,7 +41,7 @@ test("Has JSON Viewer for 'features.json'", async ({ page }) => {
expect(await page.locator('h2').last().innerText()).toContain(
'Feature Flags'
);
expect(await page.locator('app-editor').last().isVisible()).toBeTruthy();
await expect(page.locator('app-editor').last()).toBeVisible();
});

test('Has same config as in features.json', async ({ page, request }) => {
Expand Down

0 comments on commit 27c5b3f

Please sign in to comment.