Skip to content

Commit

Permalink
test(Navigation/Table): fix for truncated cells
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed Sep 24, 2024
1 parent 8b0157c commit 9a20ac7
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@ function PreviewContent(props: PreviewContentProps) {

switch (data?.$type) {
case 'yql.string':
return <pre>{data.$value}</pre>;
case 'yql.json':
return <pre>{data.$value}</pre>;
return <pre className="elements-code">{data.$value}</pre>;
default:
return (
<Yson
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"start": "playwright test ${PW_OPTIONS}",
"screenshots": "E2E_MATCH=.screen. E2E_TEST_DIR=./screenshots playwright test ${PW_OPTIONS}"
"screenshots": "E2E_MATCH=${E2E_MATCH:-.screen.} E2E_TEST_DIR=./screenshots playwright test ${PW_OPTIONS}"
},
"keywords": [],
"author": "",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.

0 comments on commit 9a20ac7

Please sign in to comment.