also looking at this
test(ios): cover solid navigation bar title modes
#361
3 files
+22
-1
| @@ -1568,6 +1568,7 @@ describe('Craft iOS builder', () => { | ||
| 1568 | 1568 | expect(screen).toContain('appearance.backgroundColor = screenBackgroundColor ?? config.resolvedBackgroundColor') |
| 1569 | 1569 | expect(screen).toContain('appearance.shadowColor = .clear') |
| 1570 | 1570 | expect(screen).toContain('navigationItem.compactScrollEdgeAppearance = appearance') |
| 1571 | expect(screen).toContain('navigationItem.standardAppearance = nil') | |
| 1571 | 1572 | expect(readFileSync(join(import.meta.dir, '..', 'fixtures/native-screen/NativeLayoutUnitTests.swift'), 'utf8')).toContain('try assertColor(light, red: 1, green: 1, blue: 1)') |
| 1572 | 1573 | // A screen that starts with its scroll view runs edge to edge, so what |
| 1573 | 1574 | // scrolls up goes under the bar, not over its back button; the bottom |