File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/screens/TradePage/__tests__ Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ describe('TradePage', () => {
168
168
expect ( tradePage . className ) . toContain ( 'flex' ) ;
169
169
expect ( tradePage . className ) . toContain ( 'flex-col' ) ;
170
170
expect ( tradePage . className ) . toContain ( 'flex-1' ) ;
171
- expect ( tradePage . className ) . toContain ( 'h-[100dvh ]' ) ;
171
+ expect ( tradePage . className ) . toContain ( 'h-[100% ]' ) ;
172
172
} ) ;
173
173
174
174
it ( 'renders in landscape mode' , async ( ) => {
@@ -185,7 +185,6 @@ describe('TradePage', () => {
185
185
186
186
// Balance display should be visible in landscape mode
187
187
expect ( screen . getByTestId ( 'bottom-sheet' ) ) . toBeInTheDocument ( ) ;
188
- expect ( screen . getByTestId ( 'duration-options' ) ) . toBeInTheDocument ( ) ;
189
188
expect ( screen . getByTestId ( 'market-selector' ) ) . toBeInTheDocument ( ) ;
190
189
191
190
// // Check for MarketInfo with selected market
@@ -197,7 +196,7 @@ describe('TradePage', () => {
197
196
expect ( tradePage . className ) . toContain ( 'flex-row' ) ;
198
197
expect ( tradePage . className ) . toContain ( 'relative' ) ;
199
198
expect ( tradePage . className ) . toContain ( 'flex-1' ) ;
200
- expect ( tradePage . className ) . toContain ( 'h-[100dvh ]' ) ;
199
+ expect ( tradePage . className ) . toContain ( 'h-[100% ]' ) ;
201
200
} ) ;
202
201
203
202
it ( 'shows "Select Market" when no market is selected' , ( ) => {
You can’t perform that action at this time.
0 commit comments