Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
KingSora committed May 9, 2024
1 parent 029c7e9 commit db95b79
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -879,11 +879,6 @@ const start = async () => {
target?.removeAttribute('style');

try {
await overflowTest({ overflow: { x: 'visible', y: 'visible' } });
await overflowTest({ overflow: { x: 'hidden', y: 'scroll' } });
await overflowTest({ overflow: { x: 'visible-hidden', y: 'scroll' } });
await overflowTest({ overflow: { x: 'scroll', y: 'visible-scroll' } });

await overflowTest();

osInstance.options({ paddingAbsolute: !initialPaddingAbsolute });
Expand All @@ -892,6 +887,11 @@ const start = async () => {

osInstance.options({ paddingAbsolute: initialPaddingAbsolute });

await overflowTest({ overflow: { x: 'visible', y: 'visible' } });
await overflowTest({ overflow: { x: 'hidden', y: 'scroll' } });
await overflowTest({ overflow: { x: 'visible-hidden', y: 'scroll' } });
await overflowTest({ overflow: { x: 'scroll', y: 'visible-scroll' } });

if (!isFastTestRun) {
await overflowTest({ overflow: { x: 'visible-scroll', y: 'visible-hidden' } });
await overflowTest({ overflow: { x: 'hidden', y: 'visible' } });
Expand Down

0 comments on commit db95b79

Please sign in to comment.