fix web review validation and clipboard tests
This commit is contained in:
@@ -25,7 +25,17 @@ test('login and project channel workbench flow', async ({ page }) => {
|
||||
await expect(page.getByText('Open external channel')).toBeVisible();
|
||||
});
|
||||
|
||||
for (const server of ['https://user:secret@example.com', 'http:////example.com', 'http://example..com', 'http://-bad.com']) {
|
||||
for (const server of [
|
||||
'https://user:secret@example.com',
|
||||
'http:////example.com',
|
||||
'http//example.com',
|
||||
'https//example.com',
|
||||
'http:/example.com',
|
||||
'https:/example.com',
|
||||
'http://example.com\\path',
|
||||
'http://example..com',
|
||||
'http://-bad.com',
|
||||
]) {
|
||||
test(`rejects malformed server address: ${server}`, async ({ page }) => {
|
||||
await page.goto('/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user