fix: check for generic error message instead of specific server error
This commit is contained in:
1 parent
22371ce47d
commit
bd0b9a2bb7
1 file changed
+1
-1
@@ -113,6 +113,6 @@ test.describe('表单验证测试', () => {
|
||||
|
||||
await page.waitForTimeout(3000);
|
||||
const pageContent = await page.content();
|
||||
expect(pageContent).toContain('服务器错误');
|
||||
expect(pageContent).toContain('提交失败');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user