Fix the black screen of death (#7238)
* Fix the black screen of death * fmt * make check * Clean up * Fix up zoom to fit * Change how emulateNetworkConditions work * Do NOT use browser's offline/online mechanisms * Fix test
This commit is contained in:
@ -61,7 +61,7 @@ test.describe('Test network related behaviors', () => {
|
||||
})
|
||||
|
||||
// Expect the network to be down
|
||||
await expect(networkToggle).toContainText('Problem')
|
||||
await expect(networkToggle).toContainText('Network health (Offline)')
|
||||
|
||||
// Click the network widget
|
||||
await networkWidget.click()
|
||||
@ -156,7 +156,8 @@ test.describe('Test network related behaviors', () => {
|
||||
|
||||
// Expect the network to be down
|
||||
await networkToggle.hover()
|
||||
await expect(networkToggle).toContainText('Problem')
|
||||
|
||||
await expect(networkToggle).toContainText('Network health (Offline)')
|
||||
|
||||
// Ensure we are not in sketch mode
|
||||
await expect(
|
||||
|
Reference in New Issue
Block a user