Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ test.describe('Components', () => {

test('Should allow elements to be inspected', async () => {
// Select the first list item in DevTools.
await devToolsUtils.selectElement(page, 'ListItem', 'List\nApp');
await devToolsUtils.selectElement(page, 'ListItem', '<List>\n<App>');

// Prop names/values may not be editable based on the React version.
// If they're not editable, make sure they degrade gracefully
Expand Down Expand Up @@ -119,7 +119,7 @@ test.describe('Components', () => {
runOnlyForReactRange('>=16.8');

// Select the first list item in DevTools.
await devToolsUtils.selectElement(page, 'ListItem', 'List\nApp', true);
await devToolsUtils.selectElement(page, 'ListItem', '<List>\n<App>', true);

// Then read the inspected values.
const sourceText = await page.evaluate(() => {
Expand All @@ -142,7 +142,7 @@ test.describe('Components', () => {
runOnlyForReactRange('>=16.8');

// Select the first list item in DevTools.
await devToolsUtils.selectElement(page, 'ListItem', 'List\nApp');
await devToolsUtils.selectElement(page, 'ListItem', '<List>\n<App>');

// Then edit the label prop.
await page.evaluate(() => {
Expand Down Expand Up @@ -177,7 +177,7 @@ test.describe('Components', () => {
runOnlyForReactRange('>=16.8');

// Select the List component DevTools.
await devToolsUtils.selectElement(page, 'List', 'App');
await devToolsUtils.selectElement(page, 'List', '<App>');

// Then click to load and parse hook names.
await devToolsUtils.clickButton(page, 'LoadHookNamesButton');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
color: var(--color-component-name);
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace-normal);
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function OwnerView({
<span
className={`${styles.Owner} ${isInStore ? '' : styles.NotInStore}`}
title={displayName}>
{displayName}
{'<' + displayName + '>'}
</span>

<ElementBadges
Expand Down
Loading