Skip to content

Commit 5512f49

Browse files
committed
refactor: address merge conflict
2 parents 60da228 + 20944bf commit 5512f49

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/end-to-end/web-UI/scripts/testingUserPasswordChange.spec.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,13 @@ test.describe("DataFed UI password change", () => {
6161
await confirmPasswordInput.fill("Terrible2s!!!");
6262
await saveButton.click();
6363
// Make sure an error does not appear.
64-
//const errorVisible = await page.locator('text=Save Settings Error').isVisible();
65-
//expect(await page.locator('text=Save Settings Error').count()).toBe(0);
66-
//expect(await page.getByLabel('Save Settings Error').count()).toBe(0);
67-
//expect(errorVisible).toBe(false);
6864
// Unfortunately it take a while for the error to show up
6965
await page.waitForTimeout(15000);
70-
//const entirePageText = await page.locator('body').innerText();
7166

7267
await page.screenshot({ path: 'change-password-has-error.png', fullPage: true });
7368

7469
// These WILL fail if error appears
75-
//expect(entirePageText).toContain('Save Settings Error');
7670
await expect(page.getByText('Save Settings Error')).not.toBeVisible();
77-
7871
});
7972
});
8073
});

0 commit comments

Comments
 (0)