Skip to content

Commit

Permalink
YaelChen add test for trip existence
Browse files Browse the repository at this point in the history
  • Loading branch information
YaelChen committed Oct 29, 2024
1 parent dd47dc0 commit 0ce1aae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/tripExistence.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { test, expect } from './utils'

Check failure on line 1 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

'expect' is defined but never used

test('choosing params in "קיום נסיעות" and organize by date/hour ', async ({ page }) => {
await page.goto('/');

Check failure on line 4 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByRole('link', { name: 'קיום נסיעות' }).click();

Check failure on line 5 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByLabel('התחלה').click();

Check failure on line 6 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByLabel('התחלה').fill('02/6/2024');

Check failure on line 7 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByLabel('סיום').click();

Check failure on line 8 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByLabel('סיום').fill('02/6/2024');

Check failure on line 9 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByLabel('חברה מפעילה').click();

Check failure on line 10 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByRole('option', { name: 'דן', exact: true }).click();

Check failure on line 11 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByText('קיבוץ לפי שעה').click();

Check failure on line 12 in tests/tripExistence.spec.ts

View workflow job for this annotation

GitHub Actions / local-tests

Delete `;`
await page.getByText('קיבוץ לפי יום').click();
});

0 comments on commit 0ce1aae

Please sign in to comment.