-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/add-page-improvements (#377)
Note: the size limit needed to be updated now that we are importing the default export from `react-select`
- Loading branch information
Showing
408 changed files
with
4,189 additions
and
7,676 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
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,13 @@ | ||
import Header from "../components/Header"; | ||
|
||
function LocationLayout() { | ||
return ( | ||
<Header | ||
title="Yext" | ||
logo="https://a.mktgcdn.com/p/R9FjcYjRNA5dAespqgHFLMvu2m18-E5Apnb3KON0oJY/300x300.png" | ||
backgroundColor="#BAD8FD" | ||
/> | ||
); | ||
} | ||
|
||
export default LocationLayout; |
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
Binary file modified
BIN
-3.34 KB
(99%)
...sts/__screenshots__/darwin/add-element.spec.ts/can-add-a-Footer-component-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1020 Bytes
(98%)
e2e-tests/__screenshots__/darwin/deploy.spec.ts/can-deploy-changes-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1020 Bytes
(98%)
...hots__/darwin/field-picker-dropdown.spec.ts/renders-field-picker-dropdown-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1020 Bytes
(98%)
....ts/can-update-initial-props-of-a-component-and-see-UI-is-updated-via-HMR-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.02 KB
(98%)
....ts/can-update-initial-props-of-a-component-and-see-UI-is-updated-via-HMR-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+368 KB
(870%)
...ests/__screenshots__/win32/add-element.spec.ts/can-add-a-Footer-component-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+383 KB
(940%)
...ests/__screenshots__/win32/add-element.spec.ts/can-add-a-Footer-component-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-574 Bytes
(98%)
e2e-tests/__screenshots__/win32/deploy.spec.ts/can-deploy-changes-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-574 Bytes
(98%)
...shots__/win32/field-picker-dropdown.spec.ts/renders-field-picker-dropdown-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-574 Bytes
(98%)
....ts/can-update-initial-props-of-a-component-and-see-UI-is-updated-via-HMR-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-828 Bytes
(98%)
....ts/can-update-initial-props-of-a-component-and-see-UI-is-updated-via-HMR-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
import { studioTest } from "./infra/studioTest.js"; | ||
import { expect } from "@playwright/test"; | ||
|
||
studioTest("components with parsing errors", async ({ page, studioPage }) => { | ||
studioTest("components with parsing errors", async ({ studioPage }) => { | ||
await studioPage.switchPage("ErrorComponentPreviews"); | ||
await expect(page).toHaveScreenshot(); | ||
await studioPage.takePageScreenshotAfterImgRender(); | ||
|
||
await studioPage.preview | ||
.getByText( | ||
"We will still try our best to render this component even with a parsing error." | ||
) | ||
.first() | ||
.hover(); | ||
await expect(page).toHaveScreenshot(); | ||
await studioPage.takePageScreenshotAfterImgRender(); | ||
|
||
await studioPage.setActiveComponent("ErrorComponent"); | ||
await expect(page).toHaveScreenshot(); | ||
await studioPage.takePageScreenshotAfterImgRender(); | ||
}); |
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import { expect } from "@playwright/test"; | ||
import { studioTest } from "./infra/studioTest.js"; | ||
|
||
studioTest("renders field picker dropdown", async ({ page, studioPage }) => { | ||
await studioPage.addElement("Button", "Components"); | ||
await studioPage.setActiveComponent("Button"); | ||
await page.getByLabel("Toggle field picker").click(); | ||
await page.getByText("Meta").click(); | ||
await expect(page).toHaveScreenshot(); | ||
await studioPage.takePageScreenshotAfterImgRender(); | ||
await page.setViewportSize({ width: 1000, height: 720 }); | ||
await page.getByText("Meta").hover(); | ||
await page.mouse.wheel(200, 0); | ||
await expect(page).toHaveScreenshot(); | ||
await studioPage.takePageScreenshotAfterImgRender(); | ||
}); |
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
Oops, something went wrong.