forked from trent_larson/crowd-funder-for-time-pwa
fix tests (from project-page switch 4 commits ago) and fix linting
This commit is contained in:
@@ -43,10 +43,10 @@ test('Create 10 new projects', async ({ page }) => {
|
||||
for (let i = 0; i < projectCount; i++) {
|
||||
await page.goto('./projects');
|
||||
if (i === 0) {
|
||||
await page.getByTestId('closeOnboardingAndFinish').click();
|
||||
// close onboarding, but not with a click to go to the main screen
|
||||
await page.locator('div > svg.fa-xmark').click();
|
||||
}
|
||||
await page.getByRole('link', { name: 'Projects', exact: true }).click();
|
||||
await page.getByRole('button').click();
|
||||
await page.locator('button > svg.fa-plus').click();
|
||||
await page.getByPlaceholder('Idea Name').fill(finalTitles[i]); // Add random suffix
|
||||
await page.getByPlaceholder('Description').fill(finalDescriptions[i]);
|
||||
await page.getByPlaceholder('Website').fill(standardWebsite);
|
||||
|
||||
Reference in New Issue
Block a user