-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YaelChen add test for trip existence
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { test, expect } from './utils' | ||
|
||
test('choosing params in "קיום נסיעות" and organize by date/hour ', async ({ page }) => { | ||
await page.goto('/'); | ||
await page.getByRole('link', { name: 'קיום נסיעות' }).click(); | ||
await page.getByLabel('התחלה').click(); | ||
await page.getByLabel('התחלה').fill('02/6/2024'); | ||
await page.getByLabel('סיום').click(); | ||
await page.getByLabel('סיום').fill('02/6/2024'); | ||
await page.getByLabel('חברה מפעילה').click(); | ||
await page.getByRole('option', { name: 'דן', exact: true }).click(); | ||
await page.getByText('קיבוץ לפי שעה').click(); | ||
await page.getByText('קיבוץ לפי יום').click(); | ||
}); |