forked from ohcnetwork/care_fe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructured the cy.viewport usage to more reusable way (ohcnetwork#1…
- Loading branch information
1 parent
f4dde66
commit 5bd107c
Showing
5 changed files
with
35 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export const viewPort = { | ||
// Most common desktop resolution (Full HD) | ||
desktop1080p: { | ||
width: 1920, | ||
height: 1080, | ||
}, | ||
// Common laptop resolution (HD+) | ||
laptopStandard: { | ||
width: 1366, | ||
height: 768, | ||
}, | ||
// MacBook Pro 13" and similar laptops | ||
laptopRetina: { | ||
width: 1440, | ||
height: 900, | ||
}, | ||
// Common desktop resolution (2K) | ||
desktop2k: { | ||
width: 2560, | ||
height: 1440, | ||
}, | ||
// Common laptop resolution (HD) | ||
laptopSmall: { | ||
width: 1280, | ||
height: 720, | ||
}, | ||
} as const; |