Skip to content

Commit

Permalink
Changing menu tiles count logic
Browse files Browse the repository at this point in the history
  • Loading branch information
carlyrichmond committed Jan 17, 2024
1 parent 9d9b5c9 commit 1ad67c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/synthetics-replicator-tests/journeys/login.journey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ journey('Replicator Login Journey', ({ page, params }) => {

// Check submit button is disabled before entry
const submitButton = await page.getByTestId('login-button');
expect(submitButton).toBeEnabled();
expect(submitButton).toBeDisabled();

// Add credentials
const username = params.username;
Expand All @@ -61,7 +61,7 @@ journey('Replicator Login Journey', ({ page, params }) => {

// Ensure we have navigated to menu
const menuTiles = await page.getByTestId('menu-item-card');
expect(await menuTiles.count()).toBeGreaterThan(0);
expect(await menuTiles.count()).toBeGreaterThan(100);
});

step('assert unable to go to login page when signed in', async () => {
Expand Down

0 comments on commit 1ad67c8

Please sign in to comment.