Fix two-planes.spec.ts load test: switch back to Jobs tab after buying via UI (tabs unmount inactive content)
CI / build + unit + e2e (pull_request) Failing after 8m26s
CI / build + unit + e2e (pull_request) Failing after 8m26s
This commit is contained in:
@@ -271,6 +271,7 @@ test.afterEach(async ({ page }) => {
|
|||||||
test('two grounded planes: Load is one-click with a preselected plane; the picker routes to the other', async ({ page }) => {
|
test('two grounded planes: Load is one-click with a preselected plane; the picker routes to the other', async ({ page }) => {
|
||||||
test.setTimeout(300_000); // self-heal can take minutes after an interrupted run
|
test.setTimeout(300_000); // self-heal can take minutes after an interrupted run
|
||||||
const secondId = await buySecondPlaneViaUi(page); // both grounded at EDDF — bought planes spawn at HUB
|
const secondId = await buySecondPlaneViaUi(page); // both grounded at EDDF — bought planes spawn at HUB
|
||||||
|
await page.getByTestId('tab-jobs').click(); // purchase left us on Planes-market; package rows live in Jobs (tabs unmount inactive content)
|
||||||
|
|
||||||
const [nearest] = await twoNearestToHub(page);
|
const [nearest] = await twoNearestToHub(page);
|
||||||
// Forced light weight (500 kg) so the package fits BOTH ATRs' payload deterministically.
|
// Forced light weight (500 kg) so the package fits BOTH ATRs' payload deterministically.
|
||||||
|
|||||||
Reference in New Issue
Block a user