-
Notifications
You must be signed in to change notification settings - Fork 50
feat(e2e): unskip event tests #1428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
45a11ab
2f16e20
a454227
22c3b1c
c8d23b0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -10,7 +10,9 @@ import { | |||||||||||
| prepareCalendarPage, | ||||||||||||
| } from "../utils/event-test-utils"; | ||||||||||||
|
|
||||||||||||
| test.skip("should delete an all-day event using keyboard interaction", async ({ | ||||||||||||
| test.skip(({ isMobile }) => isMobile, "Keyboard shortcuts are desktop-only."); | ||||||||||||
|
||||||||||||
| test.skip(({ isMobile }) => isMobile, "Keyboard shortcuts are desktop-only."); | |
| test.skip( | |
| ({ isMobile }) => isMobile, | |
| "Keyboard shortcuts are desktop-only.", | |
| ); |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -10,7 +10,9 @@ import { | |||||||||||
| updateEventTitle, | ||||||||||||
| } from "../utils/event-test-utils"; | ||||||||||||
|
|
||||||||||||
| test.skip("should update an all-day event using keyboard interaction", async ({ | ||||||||||||
| test.skip(({ isMobile }) => isMobile, "Keyboard shortcuts are desktop-only."); | ||||||||||||
|
||||||||||||
| test.skip(({ isMobile }) => isMobile, "Keyboard shortcuts are desktop-only."); | |
| test.skip( | |
| ({ isMobile }) => isMobile, | |
| "Keyboard shortcuts are desktop-only.", | |
| ); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ import { | |
|
|
||
| test.skip(({ isMobile }) => isMobile, "Someday sidebar is desktop-only."); | ||
|
|
||
| test.skip("should update a someday event using keyboard interaction", async ({ | ||
| test("should update a someday event using keyboard interaction", async ({ | ||
| page, | ||
| }) => { | ||
| await prepareCalendarPage(page); | ||
|
|
@@ -21,6 +21,7 @@ test.skip("should update a someday event using keyboard interaction", async ({ | |
| await openSomedayEventFormWithKeyboard(page); | ||
| await fillTitleAndSaveWithKeyboard(page, title); | ||
| await expectSomedayEventVisible(page, title); | ||
| await page.waitForTimeout(1000); | ||
|
||
|
|
||
| await openEventForEditingWithKeyboard(page, title); | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -10,7 +10,9 @@ import { | |||||||||||
| updateEventTitle, | ||||||||||||
| } from "../utils/event-test-utils"; | ||||||||||||
|
|
||||||||||||
| test.skip("should update a timed event using keyboard interaction", async ({ | ||||||||||||
| test.skip(({ isMobile }) => isMobile, "Keyboard shortcuts are desktop-only."); | ||||||||||||
|
||||||||||||
| test.skip(({ isMobile }) => isMobile, "Keyboard shortcuts are desktop-only."); | |
| test.skip( | |
| ({ isMobile }) => isMobile, | |
| "Keyboard shortcuts are desktop-only.", | |
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting inconsistency: keyboard test skips use single-line format
test.skip(({ isMobile }) => isMobile, "Keyboard shortcuts are desktop-only.");while mouse test skips use multi-line format. For consistency across the codebase, keyboard tests should use the same formatting as mouse tests, or vice versa.