Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anchel123 committed Apr 8, 2024
1 parent 6701248 commit 06f1fb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/createGraph.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ test('create graph', async ({ page }) => {
await page.getByRole('button', { name: 'Create' }).click();
await page.getByPlaceholder('MATCH (n) OPTIONAL MATCH (n').fill('CREATE (:Rider {name:\'Valentino Rossi\'})-[:rides]->(:Team {name:\'Yamaha\'}), (:Rider {name:\'Dani Pedrosa\'})-[:rides]->(:Team {name:\'Honda\'}), (:Rider {name:\'Andrea Dovizioso\'})-[:rides]->(:Team {name:\'Ducati\'})');
await page.getByRole('button').first().click();
await page.getByText('falkorDB', { exact: true }).click();
await page.getByText("falkorDB").first().click()
});
4 changes: 2 additions & 2 deletions e2e/homePage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ test.beforeEach(async ({ page }) => {

test('connect', async ({ page }) => {
await page.getByRole('button').click();
await page.waitForURL('http://localhost:3000');
expect(page.url()).toBe('http://localhost:3000');
await page.waitForURL('http://localhost:3000/login');
expect(page.url()).toBe('http://localhost:3000/login');

});

Expand Down

0 comments on commit 06f1fb0

Please sign in to comment.