fix environment selection in migration spec

This commit is contained in:
gatzjames 2024-07-18 19:00:57 +02:00
parent 962ef9b659
commit 7d4b026018

View File

@ -32,8 +32,9 @@ testWithLegacyDatabase('Run data migration to version 8', async ({ page, userCon
// Open migrated local migrated collection that should now have Insomnia Sync // Open migrated local migrated collection that should now have Insomnia Sync
await page.getByLabel('Local Collection').click(); await page.getByLabel('Local Collection').click();
await page.getByLabel('Mars', { exact: true }).click(); await page.getByLabel('Manage Environments', { exact: true }).click();
await page.getByRole('option', { name: 'Mars' }).click(); await page.getByLabel('Select a Collection').getByRole('option', { name: 'Mars' }).click();
await page.getByTestId('underlay').click();
await page.getByLabel('Insomnia Sync').isVisible(); await page.getByLabel('Insomnia Sync').isVisible();
await page.getByText('Get list of rockets').click(); await page.getByText('Get list of rockets').click();
await page.getByTestId('project').click(); await page.getByTestId('project').click();