Commit fbb96d9c authored by isstuev's avatar isstuev

active fix

parent 591c0ead
...@@ -8,11 +8,20 @@ import Burger from './Burger'; ...@@ -8,11 +8,20 @@ import Burger from './Burger';
test.use({ viewport: devices['iPhone 13 Pro'].viewport }); test.use({ viewport: devices['iPhone 13 Pro'].viewport });
const hooksConfig = {
router: {
route: '/blocks',
query: { id: '0xd789a607CEac2f0E14867de4EB15b15C9FFB5859' },
pathname: '/blocks',
},
};
test('base view', async({ mount, page }) => { test('base view', async({ mount, page }) => {
const component = await mount( const component = await mount(
<TestApp> <TestApp>
<Burger/> <Burger/>
</TestApp>, </TestApp>,
{ hooksConfig },
); );
await component.locator('svg[aria-label="Menu button"]').click(); await component.locator('svg[aria-label="Menu button"]').click();
...@@ -30,6 +39,7 @@ test.describe('dark mode', () => { ...@@ -30,6 +39,7 @@ test.describe('dark mode', () => {
<TestApp> <TestApp>
<Burger/> <Burger/>
</TestApp>, </TestApp>,
{ hooksConfig },
); );
await component.locator('svg[aria-label="Menu button"]').click(); await component.locator('svg[aria-label="Menu button"]').click();
...@@ -53,6 +63,7 @@ test.describe('auth', () => { ...@@ -53,6 +63,7 @@ test.describe('auth', () => {
<TestApp> <TestApp>
<Burger/> <Burger/>
</TestApp>, </TestApp>,
{ hooksConfig },
); );
await component.locator('svg[aria-label="Menu button"]').click(); await component.locator('svg[aria-label="Menu button"]').click();
...@@ -64,6 +75,7 @@ test.describe('auth', () => { ...@@ -64,6 +75,7 @@ test.describe('auth', () => {
<TestApp> <TestApp>
<Burger/> <Burger/>
</TestApp>, </TestApp>,
{ hooksConfig },
); );
await component.locator('svg[aria-label="Menu button"]').click(); await component.locator('svg[aria-label="Menu button"]').click();
......
...@@ -74,6 +74,7 @@ const NavigationMobile = () => { ...@@ -74,6 +74,7 @@ const NavigationMobile = () => {
{ openedGroupIndex >= 0 && ( { openedGroupIndex >= 0 && (
<Box <Box
as={ motion.nav } as={ motion.nav }
w="100%"
mt={ 6 } mt={ 6 }
position="absolute" position="absolute"
top={ 0 } top={ 0 }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment