playwright: fix permission spec (#17917)

This commit is contained in:
Shailesh Parmar 2024-09-19 14:54:15 +05:30 committed by GitHub
parent 0c32038505
commit b8488a487f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -252,7 +252,7 @@ test('Permissions', async ({ userPage, adminPage }) => {
await userPage.getByTestId('profiler').click();
const testCaseResponse = userPage.waitForResponse(
(response) =>
response.url().includes('/api/v1/dataQuality/testCases/') &&
response.url().includes('/api/v1/dataQuality/testCases') &&
response.request().method() === 'GET'
);
await userPage