mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
✨ Materialize several tokens related flags (#7773)
* 📚 Add line to changelog * ♻️ Remove typography types flag * ♻️ Remove composite typography token flag * ♻️ Remove token units flag * 🎉 Activate by default two token flags * ♻️ Update inspect tab tests to navigate to the right info tab * 🐛 Fix test --------- Co-authored-by: Xavier Julian <xavier.julian@kaleidos.net>
This commit is contained in:
@@ -126,6 +126,12 @@ const openInspectTab = async (workspacePage) => {
|
||||
await workspacePage.page.waitForTimeout(500);
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {'hex' | 'rgba' | 'hsla'} ColorSpace
|
||||
*
|
||||
* @param {WorkspacePage} workspacePage - The workspace page instance
|
||||
* @param {ColorSpace} colorSpace - The color space to select
|
||||
*/
|
||||
const selectColorSpace = async (workspacePage, colorSpace) => {
|
||||
const sidebar = workspacePage.page.getByTestId("right-sidebar");
|
||||
const colorSpaceSelector = sidebar.getByLabel("Select color space");
|
||||
|
||||
Reference in New Issue
Block a user