-
Notifications
You must be signed in to change notification settings - Fork 5
fix(ci): unblock journey pull requests #418
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
base: journey-to-the-shadow-dom
Are you sure you want to change the base?
Changes from all commits
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 |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| --- | ||
| --- |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -387,11 +387,12 @@ export const StylingFocusDismissalAndRapidReopen: Story = { | |
| }, | ||
| }; | ||
|
|
||
| export const DirectionOnlyInheritanceRejectsHostVisualValues: Story = { | ||
| export const ProviderDirectionRejectsHostVisualValues: Story = { | ||
| globals: { interfaceDirection: 'rtl' }, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. praise: Setting the provider to RTL inside an LTR host makes this test prove which direction the SDK follows. For Agents: independent direction inputs
Written by Code Reviewer bot on behalf of Cam. |
||
| render: () => ( | ||
| <div | ||
| data-testid="hostile-inheritance-container" | ||
| dir="rtl" | ||
| dir="ltr" | ||
| style={{ display: 'flex', alignItems: 'center', gap: 24 }} | ||
| > | ||
| <span data-testid="hostile-inheritance-control">Host control</span> | ||
|
|
@@ -420,9 +421,9 @@ export const DirectionOnlyInheritanceRejectsHostVisualValues: Story = { | |
| const headingTypography = typographySnapshot(heading, ownerWindow); | ||
| void expect(headingTypography.fontFamily).toContain('Inter'); | ||
| void expect(ownerWindow.getComputedStyle(trigger).direction).toBe('rtl'); | ||
| void expect(ownerWindow.getComputedStyle(wrapper).direction).toBe('rtl'); | ||
| void expect(ownerWindow.getComputedStyle(wrapper).direction).toBe('ltr'); | ||
|
|
||
| await userEvent.click(within(panel).getByRole('button', { name: /select language/i })); | ||
| await userEvent.click(within(panel).getByRole('button', { name: /select a language/i })); | ||
| const languageTabs = await waitForElement<HTMLElement>( | ||
| panel, | ||
| '[data-slot="tabs-list"]', | ||
|
|
@@ -481,7 +482,7 @@ export const DirectionOnlyInheritanceRejectsHostVisualValues: Story = { | |
| const wrapperStyle = ownerWindow.getComputedStyle(wrapper); | ||
| const headingStyle = ownerWindow.getComputedStyle(heading); | ||
| const panelStyle = ownerWindow.getComputedStyle(panel); | ||
| void expect(wrapperStyle.direction).toBe('rtl'); | ||
| void expect(wrapperStyle.direction).toBe('ltr'); | ||
| void expect(wrapperStyle.writingMode).toBe('horizontal-tb'); | ||
| void expect(wrapperStyle.textOrientation).toBe('mixed'); | ||
| void expect(headingStyle.direction).toBe('rtl'); | ||
|
|
||
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.
The cleanup and restoration passes hard-code the current one-level workspace layout instead of deriving it from the restored
pnpm-workspace.yaml. When main adds a nested importer, another workspace root, or a broader glob, its manifest will not be restored consistently, increasing maintenance cost and allowing the frozen install to reject the main lockfile.Prompt To Fix With AI