Buckets:
| import { nextTestSetup } from 'e2e-utils' | |
| import { getDevIndicatorPosition } from './utils' | |
| describe('devtools-position-persistence', () => { | |
| const { next } = nextTestSetup({ | |
| files: __dirname, | |
| nextConfig: { | |
| devIndicators: { | |
| position: 'top-right', | |
| }, | |
| }, | |
| }) | |
| it('should maintain devtools indicator position after navigation', async () => { | |
| const browser = await next.browser('/') | |
| let style = await getDevIndicatorPosition(browser) | |
| expect(style).toContain('top: 20px') | |
| expect(style).toContain('right: 20px') | |
| // Navigate and check devtools indicator position is maintained | |
| await browser.refresh() | |
| await browser.waitForIdleNetwork() | |
| style = await getDevIndicatorPosition(browser) | |
| expect(style).toContain('top: 20px') | |
| expect(style).toContain('right: 20px') | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 843 Bytes
- Xet hash:
- db46011e4e5f47db360ac9352dda78e439e98bed15cd73cb22ee9144c7729045
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.