-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(game-lobby): display disclaimer for small screens (#853)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced toast notifications to display warnings for small screens, improving user feedback. - Added localization support for small screen detection messages in English and French. - **Bug Fixes** - Adjusted styling of toast notifications for better visibility across different screen sizes. - **Tests** - Expanded test coverage to include scenarios for responsive behavior related to screen size and toast notifications. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
1 parent
cefe4af
commit 81029b8
Showing
10 changed files
with
76,431 additions
and
75,875 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
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
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
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
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
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
7 changes: 7 additions & 0 deletions
7
...eptance/features/playwright/step-definitions/viewports/playwright-viewports.when-steps.ts
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,7 @@ | ||
import { When } from "@cucumber/cucumber"; | ||
import type { CustomWorld } from "@tests/acceptance/shared/types/word.types"; | ||
import { devices } from "playwright-core"; | ||
|
||
When(/^the user renders the app on the (?<device>iPhone X|iPad Mini)$/u, async function(this: CustomWorld, device: string): Promise<void> { | ||
await this.page.setViewportSize(devices[device].viewport); | ||
}); |
Oops, something went wrong.