Im looking to improve my skills with Playwright and I am creating this code to make an "1way-3ways-final way".
error:
page.goto: net::ERR_ABORTED at https://computer-database.gatling.io/computers at tests\ways1-3-1.spec.ts:25:18
Can anyone help me?
test('1 way to 3 and finish in 1', async ({ page }) => {
await page.goto('https://large-type.com/#starting');
await page.waitForTimeout(2000);
computerData.forEach(async data => {
await page.goto("https://computer-database.gatling.io/computers");
await page.click("#add");
await page.fill("#name", data.name);
await page.selectOption("#company", {label: data.manufacture});
await page.click("input[type='submit']");
await expect(page.locator("div.alert-message.warning")).toContainText(`Done ! Computer ${data.name} has been created`);
});
await page.goto('https://large-type.com/#finished');
await page.waitForTimeout(2000);
});