HH-803: add stable network exit orchestration (#19)
This commit is contained in:
@@ -16,6 +16,8 @@ test('keeps the create form inside a 900px viewport', async ({ page }) => {
|
||||
await page.route('**/api/browsers', route => route.fulfill({ json: [] }))
|
||||
await page.route('**/api/gateways', route => route.fulfill({ json: [] }))
|
||||
await page.route('**/api/browser-images', route => route.fulfill({ json: [] }))
|
||||
await page.route('**/api/phase-a/accounts', route => route.fulfill({ json: [] }))
|
||||
await page.route('**/api/network-exits', route => route.fulfill({ json: [] }))
|
||||
await page.setViewportSize({ width: 900, height: 800 })
|
||||
await page.goto('/')
|
||||
|
||||
@@ -30,6 +32,10 @@ test('keeps the create form inside a 900px viewport', async ({ page }) => {
|
||||
|
||||
test('shows the CDP endpoint only in the active branch at 900px and 599px', async ({ page }) => {
|
||||
await page.route('**/api/browsers', route => route.fulfill({ json: [runtime] }))
|
||||
await page.route('**/api/gateways', route => route.fulfill({ json: [] }))
|
||||
await page.route('**/api/browser-images', route => route.fulfill({ json: [] }))
|
||||
await page.route('**/api/phase-a/accounts', route => route.fulfill({ json: [] }))
|
||||
await page.route('**/api/network-exits', route => route.fulfill({ json: [] }))
|
||||
const endpoint = page.getByText('http://account-a:9222')
|
||||
|
||||
await page.setViewportSize({ width: 900, height: 800 })
|
||||
|
||||
Reference in New Issue
Block a user